Storing a unique weapon damage variable for each player

My game has about 10 weapons and they are all upgradeable. I want each weapons damage to be unique for each player for this reason. One player may have a 12 damage rifle the other may have 15 damage.

Right now my damage variables exist within my projectile class and hitscan weapon class, and are set within the BPs for the weapon or projectile.

Do I need to move each weapon damage variable into my players character class in order to do what I need? Im guessing if I edit the projectiles damage it doesnt just happen on one players projectile damage and it will effect all projectiles?

Thanks for help

You could give the weapon a base damage.and the characters have a damage multiplier.for example.a rifle has a damage of 10.the character 1 has a “rifle multiplier”of 0.8. Character 2 has 0.5.
when player apply damage to enemy,the damage would be “rifle damage *player multiplier ”.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.