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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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