Jump to content
  • 0

how to remove union skill reduce 2% HP


Question

Posted

Normal effect:

The power of this skill is unleashed when linked to a Soul Linker using the Star Gladiator Spirit (if not linked, the SP is wasted and nothing happens).

When linked, your movement speed is increased and all your attacks never miss and ignore DEF, but you lose 2% of your HP every time you attack a monster and 8% HP every time you attack a player also if you attack a player when you only have 20% HP left, you will be killed instantly afterwards.

Thanks!

@bump

2 answers to this question

Recommended Posts

Posted

I advise you to use the search function please :P:

http://rathena.org/board/topic/68841-how-to-fix-this-star-glad-skill-like-union/#entry127476

You would wanna look at this part of the code:

if( sc ) {
 //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);
 }

https://rathena.svn....rc/map/battle.c

Posted

if( sc ) {
 //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);
 }

hp = 8*hp/100; change 8 to 1

hp = 2*hp/100; change 2 to 1

20*sstatus->max_hp change 20 to 1 ..

just try heehhe

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