Jump to content
  • 0

Pre-renewal (Ankle Snare) Custom Effect


Question

Posted

Is it possible for ankle snare to remove Monk/Champ Critical Explosion Status when player steps on trap (Ankle Snare)? This is to prevent spamming body relocation on top of traps during WOE. In a sense that, they would have to re-cast critical explosion to be able to use body relocation with no sphere usage after stepping into a trap. If so, can someone please help me to edit my trap effect. Server is pre-renewal.

6 answers to this question

Recommended Posts

  • 0
Posted

Not sure but try this.

Find SC_ANKLE in skill_block_check, add sc_end for the critical explosion and add check skill_id for body reloc + sc status of critical explosion.

  • 0
Posted
50 minutes ago, Foob said:

Not sure but try this.

Find SC_ANKLE in skill_block_check, add sc_end for the critical explosion and add check skill_id for body reloc + sc status of critical explosion.

I'm sorry but I have next to no clue how to do this, src is not really my strong point :<

  • 0
Posted
1 hour ago, Magnetix said:

Or you can just use this..

 

Hey thanks for the suggestion, but this would imply that player won't be able to body relocation anymore once trapped right? I still want them to be able to reloc but only to an extent.

  • Love 1
  • 0
Posted
7 hours ago, Yami said:

Is it possible for ankle snare to remove Monk/Champ Critical Explosion Status when player steps on trap (Ankle Snare)? This is to prevent spamming body relocation on top of traps during WOE. In a sense that, they would have to re-cast critical explosion to be able to use body relocation with no sphere usage after stepping into a trap. If so, can someone please help me to edit my trap effect. Server is pre-renewal.

1st goto src/map/skill.cpp

2nd find:
    case MO_BODYRELOCATION:
        if (unit_movepos(src, x, y, 2, 1)) {

3rd then edit to this one:

    case MO_BODYRELOCATION:
        if(sc && (sc->data[SC_SPIDERWEB] || sc->data[SC_ANKLE] || sc->data[RG_CLOSECONFINE]))    
        if (unit_movepos(src, x, y, 2, 1)) {
        break;

4th then recompile

this will only disabled body reloc when they steps into the traps of hunters or in close confine skill of rogue but it will not remove there spheres

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...