Jump to content

Interupt occuring before move


ryolacap

Recommended Posts

I have a custom skill using a melee attack with no weapon, I also have a defense set to interupt a melee attack. It works but interupts the melee before the melee enemy moves (ie lancer)

 

anyone know how to make the interrupt activate after the enemy moves? I will add code if need be later I am not at the game right now

 

Link to comment
Share on other sites

I tried to get this to work extensively over the last weekend. My final conclusion is that there is no good way to "interrupt" melee attacks like that, because the move and the attack are part of the same action and trying to partially interrupt it caused a lot of gamestate/visualization issues (the lancer appeared to move but didn't, or didn't appear to move but did, the attack appeared to happen but didn't and then the lancer moved entirely differently afterwards, etc).

 

It's not a very good way to go about it, but I ended up using a pre-existing effect on the target to force the hit to miss during the to-hit roll resolution with the "CanAbilityHitUnit" method.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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