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
I was wondering if it was just a simple edit likeCode:float Player::GetHealthBonusFromStamina() { float stamina = GetStat(STAT_STAMINA); float baseStam = stamina < 20 ? stamina : 20; float moreStam = stamina - baseStam; return baseStam + (moreStam*10.0f);
I dont want to have to recompile the core and stuff if i dont have to so if anyone knows please let me know if this is right.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


Likes: 




Reply With Quote
Bookmarks