Hello everyone, and thank you for taking the time to view my problem, my knowledge of Javascript is very bad
and I would require some help.
I am planing a game with multiple classes and one of these classes would be a warrior that uses rage when he does damage and when he receives it as well
throughout the help of the forums, youtube, and some face bashing on the keyboard, I was able to do most of the things i have wanted for my class and also learn a bit about how JS code looks in structure
I now need your help with how to make it so that when my character of that specific class takes damage than 10% of the damage taken after damage reduction would turn into rage.
so if a mob hits my hero for 100 damage and the heroes overall damage reduction is 50 I would take the 50 damage to health and gain 5 rage aswell.
I thank you for your time and effort any hint on how I can address the problem will be welcomed
and I would require some help.
I am planing a game with multiple classes and one of these classes would be a warrior that uses rage when he does damage and when he receives it as well
throughout the help of the forums, youtube, and some face bashing on the keyboard, I was able to do most of the things i have wanted for my class and also learn a bit about how JS code looks in structure
I now need your help with how to make it so that when my character of that specific class takes damage than 10% of the damage taken after damage reduction would turn into rage.
so if a mob hits my hero for 100 damage and the heroes overall damage reduction is 50 I would take the 50 damage to health and gain 5 rage aswell.
I thank you for your time and effort any hint on how I can address the problem will be welcomed