Jump to content
  • 0
Sign in to follow this  
greenieken

Soul link modification for sinx

Question

Hi. May I request for a modification for sinx soul link. Instead of increasing the damage of sonic blow, change it to soul breaker

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Can't confirm if it works, but try this.

Open src\map\battle.c and find the following code:
Just change AS_SONICBLOW to ASC_BREAKER
I think the rest of the numbers are self-explanitory :)

Let me know how you go.
 

		switch (skill_id) {
			case AS_SONICBLOW:
				if (sc && sc->data[SC_SOULLINK] &&
					sc->data[SC_SOULLINK]->val2 == SL_ASSASIN)
					ATK_ADDRATE(map_flag_gvg(src->m)?25:100); //+25% dmg on woe/+100% dmg on nonwoe

				if(sd && pc->checkskill(sd,AS_SONICACCEL)>0)
					ATK_ADDRATE(10);
			break;
			case CR_SHIELDBOOMERANG:
				if(sc && sc->data[SC_SOULLINK] &&
					sc->data[SC_SOULLINK]->val2 == SL_CRUSADER)
					ATK_ADDRATE(100);
				break;
		}

 

Edited by Myriad
battle.c not skill

Share this post


Link to post
Share on other sites
  • 0

i guess the current devs advise against editing your src, but if you properly label everything and increase ur skills with merging, it shouldn't be a problem. there aren't really any guides for turning stuff like this into plugin. i tried but failed.

Share this post


Link to post
Share on other sites
  • 0

@Myriad the problem is previous guide are either outdated or the link is already down. and most of the scripts in the download section are not compatible with the current rev as well.

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.