Jump to content
  • 0

Updated Wizard/Sage Soul Link Modification(Increase HP by BaseLvl*200 HP)


Question

Posted

I got this one from here :

https://rathena.org/board/topic/82740-soul-link-modification/?hl=%2Bsoul+%2Blink

 

In src/map/status.c 

 

(Increase HP by BaseLvl*200 HP)

    if(sc->data[SC_SPIRIT] && (sc->data[SC_SPIRIT]->val2 == SL_WIZARD || sc->data[SC_SPIRIT]->val2 == SL_SAGE))
        maxhp += ((TBL_PC*)bl)->status.base_level * 200;

But cant locate where to put this source code in status.c

 

This one is WORKING, I already compiled this.

 

(Increase Vit will by Int/5)

      if(sc->data[SC_SPIRIT] && (sc->data[SC_SPIRIT]->val2 == SL_WIZARD || sc->data[SC_SPIRIT]->val2 == SL_SAGE))
	  vit += ((TBL_PC*)bl)->status.int_ / 5;

Any idea guys? I really need the Increase HP thingy. Thank you!

2 answers to this question

Recommended Posts

  • 0
Posted (edited)


Go to your trunk/src/map/status.c and look for:

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

//Bonus Effect for Wizard & Sage Link

if(sc->data[SC_SPIRIT] && (sc->data[SC_SPIRIT]->val2 == SL_WIZARD || sc->data[SC_SPIRIT]->val2 == SL_SAGE))

bonus += ((TBL_PC*)bl)->status.base_level * 200;

Edited by Bringer
  • Upvote 1
  • 0
Posted
Go to your trunk/src/map/status.c and look for:

		//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;
		//Bonus Effect for Wizard & Sage Link 
			if(sc->data[SC_SPIRIT] && (sc->data[SC_SPIRIT]->val2 == SL_WIZARD || sc->data[SC_SPIRIT]->val2 == SL_SAGE))
				bonus += ((TBL_PC*)bl)->status.base_level * 200;

100% Working! You're a life saver man! Thanks Bringer! /no1

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