ryolacap Posted March 9, 2016 Share Posted March 9, 2016 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 More sharing options...
Lucubration Posted March 9, 2016 Share Posted March 9, 2016 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 More sharing options...
ryolacap Posted March 10, 2016 Author Share Posted March 10, 2016 I ended up using a range and activating post enemy move to make it a counter attack Link to comment Share on other sites More sharing options...
Recommended Posts