Jump to content
  • 0
Sign in to follow this  
PunkBuster

Knuckle Arrow edit

Question

My beta testers have claimed that it's easy to use Knuckle Arrow to get close to a target, then use Asura Strike. I'd like to give Knuckle Arrow the same limitation as Body Relocation, in which you cannot use Asura Strike for 3 seconds after a Knuckle Arrow.

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Well, according to Hercules' source-code after using Body Relocation you need only to wait 2s to use Asura Strike, you could alter that as well.

Open srcmapskill.c and search for:

skill->blockpc_start (sd, MO_EXTREMITYFIST, 2000);
Change it to:
skill->blockpc_start (sd, MO_EXTREMITYFIST, 3000);
Search for:
		case SR_KNUCKLEARROW:				if( !map_flag_gvg2(src->m) && !map->list[src->m].flag.battleground && unit->movepos(src, bl->x, bl->y, 1, 1) ) {					clif->slide(src,bl->x,bl->y);					clif->fixpos(src); // Aegis send this packet too.				}				if( flag&1 )					skill->attack(BF_WEAPON, src, src, bl, skill_id, skill_lv, tick, flag|SD_LEVEL);				else					skill->addtimerskill(src, tick + 300, bl->id, 0, 0, skill_id, skill_lv, BF_WEAPON, flag|SD_LEVEL|2);
Add right below it, before 'break':
				if( sd )					skill->blockpc_start (sd, MO_EXTREMITYFIST, 3000);
Done, save the file and build your map-server c: Edited by pan

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.