Soul link modification for sinx

greenieken

New member
Messages
90
Points
0
Github
greenieken
Emulator
Hi. May I request for a modification for sinx soul link. Instead of increasing the damage of sonic blow, change it to soul breaker

 
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.
 

Code:
		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;
		}

 
Last edited by a moderator:
@Myriad that's what i also planned to do, but i was afraid to ruin my src. LOL. are you the only one who's active here? haha. thanks man!

 
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.

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

 
Back
Top