Jump to content
  • 0

Professor/Mage Talisman Effect/ Soul link


Question

4 answers to this question

Recommended Posts

Posted (edited)
Try this one.
 
src/map/status.c
 
 
Under:
static int status_get_hpbonus(struct block_list *bl, enum e_status_bonus type)

Find This:

//Bonus by SC
if (sc) {
if(sc->data[SC_INCMHP])
bonus += sc->data[SC_INCMHP]->val1;
if(sc->data[SC_EARTH_INSIGNIA] && sc->data[SC_EARTH_INSIGNIA]->val1 == 2)
bonus += 500;
if(sc->data[SC_LERADSDEW])
bonus += sc->data[SC_LERADSDEW]->val3;
if(sc->data[SC_INSPIRATION])
bonus += (600 * sc->data[SC_INSPIRATION]->val1);
if(sc->data[SC_SOLID_SKIN_OPTION])
bonus += 2000;
if(sc->data[SC_MTF_MHP])
bonus += sc->data[SC_MTF_MHP]->val1;
if(sc->data[SC_MARIONETTE])
bonus -= 1000;
Add these lines:
if(sc->data[SC_SPIRIT] && (sc->data[SC_SPIRIT]->val2 == SL_WIZARD || sc->data[SC_SPIRIT]->val2 == SL_SAGE))
bonus += ((TBL_PC*)bl)->status.max_hp * 2;

PS: Haven't tested it yet. Just see if it works.

Edited by Lord Ganja
  • Upvote 1

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