i’m adding skills to my rpg game and i’m thinking of testing out skills that give stat boosts, but i’m not sure how i would implement damage boosts to my weapons
i just woke up so i’m prob asking a question with a really simple solution
i’m adding skills to my rpg game and i’m thinking of testing out skills that give stat boosts, but i’m not sure how i would implement damage boosts to my weapons
i just woke up so i’m prob asking a question with a really simple solution
Well, you could probably add a value in each of the players which stores how much “boost” it gives in a damage and set it to 1. Then in your weapon system, just multiply the current damage of the weapon to the value of the you have created earlier. So if it’s set to 1, then it’s a normal damage, however when you set it to something higher, the damage will be higher than the normal default one so it’ll give the effect of damage boost.
i really should’ve thought of that lol, thank you
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.