Author Topic: Adjusting damage dealt by a percentage  (Read 590 times)

Is it possible to adjust damage dealt by a percentage?
For example, if I set my player to have a value of 900/1000 strength, would it be possible to make my player only deal 90% of the damage it regularly would?
How would I do this?

Package the Armor::damage function and multiply the damage amount by 100th of the percentage. Search, there's heaps of these topics.