h3x3d Posted August 9, 2012 Posted August 9, 2012 Tried to push ancle snare trap with arrow shower. No effect. I use rathena with commented out renewal mechanics.. Any help? Also - sorry for my bad english. Quote
malufett Posted August 9, 2012 Posted August 9, 2012 what revision are you using? I'm using the latest one and its working fine... Quote
malufett Posted August 9, 2012 Posted August 9, 2012 better update..we are already at revision 16000+.. Quote
h3x3d Posted August 9, 2012 Author Posted August 9, 2012 ok, i'll try now thx for answer)) After updating - i only can damage trap, but not to push it.. Quote
Sneaky Posted August 12, 2012 Posted August 12, 2012 Actually it's only Ankle snare the one that can not be pushed :/ I guess that's how the official is or at least I read that somewhere. Well for my preference (not official) If someone knows how to make 'em pushable, all of them, without receiving any damage, would be nice ^_~ Quote
Sneaky Posted August 14, 2012 Posted August 14, 2012 After browsing skill.c I now know how to do it, here it is. To allow Ankle Snare to be pushed back. src > map > skill.c find: case BL_SKILL: su = (struct skill_unit *)target; if( su && su->group && su->group->unit_id == UNT_ANKLESNARE ) return 0; // ankle snare cannot be knocked back break; replace / comment with: /*case BL_SKILL: //[og2] su = (struct skill_unit *)target; if( su && su->group && su->group->unit_id == UNT_ANKLESNARE ) return 0; // ankle snare cannot be knocked back break; */ Also to remove certain traps for being damage. find: int skill_unit_ondamaged (struct skill_unit *src, struct block_list *bl, int damage, unsigned int tick) remove in the list below. switch( sg->unit_id ) { case UNT_BLASTMINE: case UNT_SKIDTRAP: case UNT_LANDMINE: case UNT_SHOCKWAVE: case UNT_SANDMAN: case UNT_ANKLESNARE: case UNT_FLASHER: case UNT_CLAYMORETRAP: case UNT_FREEZINGTRAP: case UNT_TALKIEBOX: case UNT_ICEWALL: case UNT_REVERBERATION: case UNT_WALLOFTHORN: src->val1-=damage; break; default: damage = 0; break; } return damage; To remove, just commend the case of the trap you don't want damaged. example: //case UNT_ANKLESNARE: Quote
Question
h3x3d
Tried to push ancle snare trap with arrow shower. No effect. I use rathena with commented out renewal mechanics..
Any help?
Also - sorry for my bad english.
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.