Increasing Melee dmg with Str
so i modified the attack.cpp in line 5087 as follows
Code:
if (IsClient()) { so if a char with 130 str would inflict 10 dmg, he now inflicts 20. it is somehow not working. any ideas why this is not working? |
solved:
it was an integer problem. changed it to: Code:
hit.damage_done = hit.damage_done*(((CastToClient()->GetSTR()-50)*100)/40); |
All times are GMT -4. The time now is 05:46 PM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.