No announcement yet.

Q; Damage Calculation

  • Filter
  • Time
  • Show
Clear All
new posts

    Q; Damage Calculation

    So I want to create a system where the defence of the player reduces the damage by a %, would I have to implement all these stats onto the character like in the picture and just have the dmg selected by the actor collision?

    Or Do I have to have a series of structures, enums and functions dictating when to get/update these stats?

    like for eventually equipping armour that increase's defence

    So if a bullet does 20 pierce dmg and I have 200/1,000 pierce resist, this being 20% dropping it to 16 pierce dmg, so that way each bullet/gun would have its pre-defined dmg that'd get reduced upon collision with player?
    Or is there a better way
    halp pls
    Attached Files