- Joined
- Jul 12, 2011
- Messages
- 1,371
Hey people!
So, I'm trying to make a spell in which when a hero casts a specific spell, he gains additional armor. The addition armor is gained by an ability casted from an invisible unit via this trigger:
Ability is based on fan of knives.
However the unit does not get spawned.
What's the problem?
So, I'm trying to make a spell in which when a hero casts a specific spell, he gains additional armor. The addition armor is gained by an ability casted from an invisible unit via this trigger:
-
Wooden Protection
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Wooden Protection
-
-
Actions
-
Set Point002 = (Position of (Triggering unit))
-
Unit - Create 1 Wooden Protection Inv Dummy for Player 1 (Red) at (Point001 offset by (100.00, 100.00)) facing 270.00 degrees
-
Unit - Set mana of (Last created unit) to 100.00
-
Unit - Add a 6.00 second Generic expiration timer to (Last created unit)
-
Unit - Order (Last created unit) to Undead Lich - Frost Armor (Triggering unit)
-
Custom script: call RemoveLocation (udg_Point002)
-
-
Ability is based on fan of knives.
However the unit does not get spawned.
What's the problem?