Jump to content
  • 0

Arrow shower does not push traps


h3x3d

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  08/01/12
  • Last Seen:  

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.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  554
  • Reputation:   70
  • Joined:  04/04/12
  • Last Seen:  

what revision are you using? I'm using the latest one and its working fine...:)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  08/01/12
  • Last Seen:  

r15926..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  554
  • Reputation:   70
  • Joined:  04/04/12
  • Last Seen:  

better update..we are already at revision 16000+..:)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  08/01/12
  • Last Seen:  

ok, i'll try now :) thx for answer))

After updating - i only can damage trap, but not to push it..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  392
  • Reputation:   47
  • Joined:  11/18/11
  • Last Seen:  

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 ^_~

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  392
  • Reputation:   47
  • Joined:  11/18/11
  • Last Seen:  

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:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...