I wonder why didn’t just modify our weaponDamage based on our level from baseStats.
Did we just lose our ability to have a weapon have its own amount of damage?
Thanks
I wonder why didn’t just modify our weaponDamage based on our level from baseStats.
Did we just lose our ability to have a weapon have its own amount of damage?
Thanks
The weapon damage is added to the damage stat to get the final damage.
When we call GetComponent<BaseStats>().GetStat(Stat.Damage);
, BaseStats gets the weapon Damage from Weapon.cs when it calls GetAdditiveModifiers() and adds it to the base stats.
[Solved] in the next video – GetAdditiveModifiers() –
Seems to me this could have been mentioned at the beginning of that video and I would have seen where we were headed. (students were left in the dark)
Thanks Brian
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.