Hades03 Posted May 2, 2012 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 242 Reputation: 3 Joined: 01/01/12 Last Seen: August 14, 2015 Share Posted May 2, 2012 eAthena SVN version: 15087M How To remove HP Penalty per Hit on star gladiator when on union state? Thanks in advance Quote Link to comment Share on other sites More sharing options...
Lelouch vi Britannia Posted May 2, 2012 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 715 Reputation: 84 Joined: 01/05/12 Last Seen: April 10, 2023 Share Posted May 2, 2012 (edited) Nah i recommend you should use rAthena and find this @ src/map/battle.c in line 2989 to 2999 //SG_FUSION hp penalty [Komurka] if (sc->data[sC_FUSION]) { int hp= sstatus->max_hp; if (sd && tsd) { hp = 8*hp/100; if (100*sstatus->hp <= 20*sstatus->max_hp) hp = sstatus->hp; } else hp = 2*hp/100; //2% hp loss per hit status_zap(src, hp, 0); } Try to delete or change the whole thing, then recompile you're SVN Edited May 2, 2012 by Lelouch Quote Link to comment Share on other sites More sharing options...
Hades03 Posted May 2, 2012 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 242 Reputation: 3 Joined: 01/01/12 Last Seen: August 14, 2015 Author Share Posted May 2, 2012 Lelouch dik what i need to delete wew //SG_FUSION hp penalty [Komurka] if (sc && sc->data[sC_FUSION]) { int hp= sstatus->max_hp; if (sd && tsd) { hp = 8*hp/100; if (100*sstatus->hp <= 20*sstatus->max_hp) hp = sstatus->hp; } else hp = 2*hp/100; //2% hp loss per hit status_zap(src, hp, 0); } return wd; } Quote Link to comment Share on other sites More sharing options...
KeiKun Posted May 2, 2012 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 967 Reputation: 53 Joined: 11/13/11 Last Seen: Friday at 08:18 AM Share Posted May 2, 2012 i already gave you the answer the diff patch the problem is your using eAthena ~____~ EDIT: Here~ http://pyro-ro.com/keikun/codes/SRCs/remove_hp_penalty_SG_FUSION_eathena15091.patch Index: src/map/battle.c =================================================================== --- src/map/battle.c (revision 15091) +++ src/map/battle.c (working copy) @@ -2294,19 +2294,6 @@ wd.damage += md.damage; } - //SG_FUSION hp penalty [Komurka] - if (sc && sc->data[sC_FUSION]) - { - int hp= sstatus->max_hp; - if (sd && tsd) { - hp = 8*hp/100; - if (100*sstatus->hp <= 20*sstatus->max_hp) - hp = sstatus->hp; - } else - hp = 2*hp/100; //2% hp loss per hit - status_zap(src, hp, 0); - } - return wd; } Quote Link to comment Share on other sites More sharing options...
Question
Hades03
eAthena SVN version: 15087M
How To remove HP Penalty per Hit on star gladiator when on union state?
Thanks in advance
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.