Emmanskillz Posted February 23, 2014 Posted February 23, 2014 (edited) when i use union skill my character lose hp in every attack, how can i remove the hp loss ? ? thanks in advance Edited February 23, 2014 by emmanskillz Quote
0 kyleanthonydizon Posted May 14, 2017 Posted May 14, 2017 On 2/23/2014 at 5:34 PM, sandbox said: In battle.c find //SC_FUSION hp penalty [Komurka] if (sc->data[SC_FUSION]) { int hp= sstatus->max_hp; if (sd && tsd) { hp = 8*hp/100; if (((int64)sstatus->hp * 100) <= ((int64)sstatus->max_hp * 20)) hp = sstatus->hp; } else hp = 2*hp/100; //2% hp loss per hit status_zap(src, hp, 0); } comment out these lines //else // hp = 2*hp/100; //2% hp loss per hit // status_zap(src, hp, 0); don't forget to backup and recompile On 2/24/2014 at 10:37 PM, Emmanskillz said: ill try this later Is this working? Quote
sandbox Posted February 24, 2014 Posted February 24, 2014 In battle.c find //SC_FUSION hp penalty [Komurka] if (sc->data[SC_FUSION]) { int hp= sstatus->max_hp; if (sd && tsd) { hp = 8*hp/100; if (((int64)sstatus->hp * 100) <= ((int64)sstatus->max_hp * 20)) hp = sstatus->hp; } else hp = 2*hp/100; //2% hp loss per hit status_zap(src, hp, 0); } comment out these lines //else // hp = 2*hp/100; //2% hp loss per hit // status_zap(src, hp, 0); don't forget to backup and recompile Quote
Question
Emmanskillz
when i use union skill my character lose hp in every attack, how can i remove the hp loss
? ? thanks in advance 

Edited by emmanskillz3 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.