
Results 21 to 26 of 26
Threaded View
-
18-08-10, 11:44 PM #1
Need help with C++ changing stamina health bonus, PLS look
Hello again, I need some help... Ok, so I want to make the health bonus from stamina more than just 10hp/STA point I was looking through the scripts in my source and found the C++ file called statsystem.cpp and in it i found the code
Code:float Player::GetHealthBonusFromStamina() { float stamina = GetStat(STAT_STAMINA); float baseStam = stamina < 20 ? stamina : 20; float moreStam = stamina - baseStam; return baseStam + (moreStam*10.0f);
Code:float Player::GetHealthBonusFromStamina() { float stamina = GetStat(STAT_STAMINA); float baseStam = stamina < 20 ? stamina : 20; float moreStam = stamina - baseStam; return baseStam + (moreStam*500.0f);
Also, is there any kind of SQL file i could make to change all of the items at once to have like x20 STA and stuff pls let me know
Thanks again,
Kandi
Last edited by kandi; 18-08-10 at 11:55 PM. Reason: spelling error