I'm making this skill which basically:
- User targets an enemy unit
- User moves to the location of the target
- Trigger gives Mirror Image skill to user (set it to non-hero ability)
- Order user to Mirror Image
- Second trigger removes Mirror Image after cast
Problem:
- Illusions are removed when Mirror Image is removed via trigger.
- I want the illusions to last as long as its expiration timer.
Here's the skill removal trigger:
I've thought of some ideas to solve it, but they are not perfect solutions:
- Give the hero a charged item to use and cast Mirror Image (Problem: hero may not have a free item slot)
- Create a dummy hero, set its items and stats to match original hero, order it to cast Mirror Image (Problem: the final game statistics will show that the triggering player uses two or more heroes)
- Create a dummy and give it wand of illusion to use it on the hero (Problem: the hero had its collision turned off, then move to target location, overlapping with the target, then cast Mirror Image so that the illusions will surround the target. Wand of illusion could not pinpoint illusion spawn location)
Anyone has any idea how to help me? Feel free to ask me questions regarding the mechanics of the spell.
Heaps of appreciation from me. =D
- User targets an enemy unit
- User moves to the location of the target
- Trigger gives Mirror Image skill to user (set it to non-hero ability)
- Order user to Mirror Image
- Second trigger removes Mirror Image after cast
Problem:
- Illusions are removed when Mirror Image is removed via trigger.
- I want the illusions to last as long as its expiration timer.
Here's the skill removal trigger:
-
Mirror Image Skill Removal
-
Events
- Unit - A unit Spawns a summoned unit
-
Conditions
- ((Summoned unit) is an illusion) Equal to True
- (Unit-type of (Summoned unit)) Equal to (Unit-type of (Summoning unit))
- (Owner of (Summoned unit)) Equal to (Owner of (Summoning unit))
- (Level of Mirror Image for (Summoning unit)) Greater than or equal to 1
-
Actions
- Unit - Remove Mirror Image from (Summoning unit)
-
Events
I've thought of some ideas to solve it, but they are not perfect solutions:
- Give the hero a charged item to use and cast Mirror Image (Problem: hero may not have a free item slot)
- Create a dummy hero, set its items and stats to match original hero, order it to cast Mirror Image (Problem: the final game statistics will show that the triggering player uses two or more heroes)
- Create a dummy and give it wand of illusion to use it on the hero (Problem: the hero had its collision turned off, then move to target location, overlapping with the target, then cast Mirror Image so that the illusions will surround the target. Wand of illusion could not pinpoint illusion spawn location)
Anyone has any idea how to help me? Feel free to ask me questions regarding the mechanics of the spell.
Heaps of appreciation from me. =D
Last edited: