PDA

View Full Version : HP Bug


hoho324
25.09.2005, 00:13
This is the code I have to try and fix the HP bug where people will have more hp than normal after abusing something like an SA or tattoo...I have everyone getting it at lvl 25 so the chars hp regen will make it not noticable but it doesent do anything....I guess because c_hp;-x;x won't work as a passive skill ?.....

skilldata.txt
skill_begin skill_name = [s_hp_exploit] /* [hp exploit fix] */ skill_id = 20001 level = 1 operate_type = P effect = {{c_hp;-1;2}} skill_end
skill_pch.txt
[s_hp_exploit] = 5120257
skill_pch2.txt
5120257 0 0 0 0 0 0 -1 0 0 0 0 -12345

bwgreen
26.09.2005, 12:55
Surely if you add something like this, it will battle with the characters normal regeneration and do nothing, or over time will kill the character?

hoho324
26.09.2005, 15:40
no it wouldent really affect the chars regen much at all and defiently wouldent kill them...it would barely be noticable but however if you gave it to a lower lvl person like lvl 10 or so then yeah...but i cant get it to work as a passive anyway so :P