Jump to content
  • 0

Question

3 answers to this question

Recommended Posts

Posted (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 by Lelouch
Posted

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;

}

Posted

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;
}

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...