Jump to content

Need Hlp Asap


Recommended Posts


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  242
  • Reputation:   3
  • Joined:  01/01/12
  • Last Seen:  

panu alisin yung hp penalty ng Union Skill need Asap pls pls

ASAP ASAP

ASAP ASAP

BUMP

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  311
  • Reputation:   46
  • Joined:  11/06/11
  • Last Seen:  

rathena/trunk/src/map/battle.c

//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);

}

Change to

//SG_FUSION hp penalty [Komurka]

if (sc->data[sC_FUSION]) {

int hp= sstatus->max_hp;

if (sd && tsd) {

hp = 0*hp/100;

if (100*sstatus->hp <= 20*sstatus->max_hp)

hp = sstatus->hp;

} else

hp = 0*hp/100; //2% hp loss per hit

status_zap(src, hp, 0);

}

Then :) recompile.

Edited by vBrenth
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  967
  • Reputation:   53
  • Joined:  11/13/11
  • Last Seen:  

@ vbrenth

that still gives hp penalty

@ jam

i already gave you 2 patches

do i need to teach you about patches

+ + <-- add to directory

- - <-- delte to directory

+ <-- add line

- <-- delete line

i already gave you 2 patches

rAthena = http://pyro-ro.com/keikun/codes/SRCs/remove_hp_penalty_SG_FUSION_rathena16022.patch

eAthena = http://pyro-ro.com/keikun/codes/SRCs/remove_hp_penalty_SG_FUSION_eathena15091.patch

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  414
  • Reputation:   102
  • Joined:  11/13/11
  • Last Seen:  

Why would you make three topics regarding the same thing? >_>

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  311
  • Reputation:   46
  • Joined:  11/06/11
  • Last Seen:  

Really how? then try it.. by ur self.. =,=" thats what i do and it works

Edited by vBrenth
Link to comment
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

×   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.

×
×
  • Create New...