Jump to content
  • 0

how to remove union skill reduce 2% HP


Petey Pablo

Question


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.03
  • Content Count:  569
  • Reputation:   11
  • Joined:  11/24/11
  • Last Seen:  

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

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  132
  • Reputation:   1
  • Joined:  07/19/12
  • Last Seen:  

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

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

×
×
  • Create New...