Jump to content
  • 0
Sign in to follow this  
ThyroDree

HW/Sage Soul Link Modification

Question

I need help editing Soul Link of HW and Sage

1,Sage - The Sage's HP will also increase by BaseLvl*200 HP and his/her Vit will increase by Int/5 (For example, 255 Int will give you an additional bonus of 255/5 = 51 Vit.
 
2.Wizard - The Wizard's HP will also Increase by BaseLvl*200 HP and his/her Vit will increase by Int/5(For example, 255 Int will give you an additional bonus of 255/5 = 51 Vit. Increase Magic Crasher Damage + 150%.

 

i found this script/src code at Soul Link Modif[Request]

this src code posted by Patskie but i don't know if this is working and don't know what line do i add this 

 

add this on src/map/status.c. ( I don't know what line @_@ )

Professor / Wizard ( intelligence / 5 ) : 

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

 

Professor / Wizard ( BaseLevel * 200 ) :

 

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

Share this post


Link to post
Share on other sites

8 answers to this question

Recommended Posts

  • 0

I have tried this and works fine on my test server. You can check it : 

 

src/map/status.c : 

 

Add ( Line 4212 ) : 

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

 

Add ( Line 5564 ) :

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

Share this post


Link to post
Share on other sites
  • 0

 

I have tried this and works fine on my test server. You can check it :

src/map/status.c :

Add ( Line 4212 ) :

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


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

i will try this

IT WORKS ! THANKS! Edited by venomxxvii

Share this post


Link to post
Share on other sites
  • 0

i tried this on rathena and i got this error what is the problem?

 

 Error 1 error C2065: 'maxhp' : undeclared identifier (..srcmapstatus.c) c:usersthyrone üdesktopsvnsrcmapstatus.c 2488 1 map-server_sql
 

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.