Jump to content
  • 0

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


mauiboy

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  56
  • Reputation:   0
  • Joined:  07/06/16
  • Last Seen:  

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!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  745
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  


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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  56
  • Reputation:   0
  • Joined:  07/06/16
  • Last Seen:  

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

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