• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Phase Movement

Level 2
Joined
Jan 26, 2023
Messages
3
Is it possible to make the phase movement ability like the phase boots in Dota, but without having problems with critical strike abilities or being removed when casting abilities, especially channeled ones?
 

Rheiko

Spell Reviewer
Level 27
Joined
Aug 27, 2013
Messages
4,217
Phase boots in DotA is based on Wind Walk. The ability itself does not interrupt order as far as I know. So you don't need to worry about it interrupting channeled abilities. However, it does not work with Critical Strike. If you're very concerned about it, you could try to create your own triggered Critical Strike ability through Damage Detection for it.
 
Level 24
Joined
Feb 27, 2019
Messages
835
The Wind Walk buff can be detected from this event because its still not lost from the unit. The buff cant be successfully re-applied during this event because its lost in the next event. Id rather use some other detection method like time remaining on Phase_Boots_Timer for the event A unit begins casting an ability.
  • Detect Wind Walk buff
    • Events
      • Unit - A unit Begins channeling an ability
    • Conditions
      • ((Triggering unit) has buff Wind Walk) Equal to True
      • (Ability being cast) Not equal to Wind Walk
    • Actions
Re-applies Wind Walk buff when the unit begins casting an ability.
  • Phase Boots Cast Spell
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Not equal to Wind Walk
    • Actions
      • Hero - Create Windwalk (Item) and give it to (Triggering unit)
Re-initiatiing an attack, delayed a bit by BlzPauseUnitEx, causing the buff to be lost and thus Critical Strike works is fine but not great.
  • Phase Boots Attack
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • ((Attacking unit) has buff Wind Walk) Equal to True
    • Actions
      • Unit - Remove Wind Walk buff from (Attacking unit)
      • Custom script: call BlzPauseUnitEx(GetAttacker(), true)
      • Custom script: call BlzPauseUnitEx(GetAttacker(), false)
      • Unit - Interrupt (Attacking unit)'s Attack
 
Top