Jump to content
  • 0

union skill star gladiator


Emmanskillz

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   1
  • Joined:  04/19/13
  • Last Seen:  

when i use union skill my character lose hp in every attack, how can i remove the hp loss /hmm ? ? thanks in advance :)/thx

Edited by emmanskillz
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  100
  • Reputation:   0
  • Joined:  10/22/16
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

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

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