hopy
Active Member
- Reaction score
- 64
Two questions for now, one is a spell and the other is using a spell in a spellbook for multiple units at once without creating an endless loop.
Question One: Ancestral Guardian.
What this spell is supposed to do: The Spirit Walker summons a Spirit that will copie the next spell cast at the Spirit Walker and cast it back at the unit casting it.
So in simple: Create a dummy unit and order the dummy to cast the same spell back at the unit casting it at the Spirit Walker.
(I've made my trigger a bit shorter in order to make it easier to read, the origonal version is longer with all the single target abilities in my map.
For this short test I only used Frost Nova (Neutral Hostile), that's why my testing trigger looks like this.
With this trigger the Floating Text worked, but as far as I can see the spell doesn't get casted at the caster. Does anyone see any mestake, or a reason why this shouldn't work in this trigger?
Question 2:
I've got a Warstomp in a Spellbook, it works fine and everything... but when I try to get the unit to use the ability with a trigger:
It doesn't work at all, is it posible to order units to use abilities in spellbooks using triggers, or should I look somewere else for the problem?
(Extra question... forgot about this one:
The missile arts when using the ability Channel don't work at all, I've set an animation, speed and everything but it just doesn't show any missile art, should I use a different ability?).
Thanks for any helpfull replies and +rep for people giving any helpfull stuff.
Question One: Ancestral Guardian.
What this spell is supposed to do: The Spirit Walker summons a Spirit that will copie the next spell cast at the Spirit Walker and cast it back at the unit casting it.
So in simple: Create a dummy unit and order the dummy to cast the same spell back at the unit casting it at the Spirit Walker.
(I've made my trigger a bit shorter in order to make it easier to read, the origonal version is longer with all the single target abilities in my map.
Trigger:
- Spirit Barrier Copy
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- ((Target unit of ability being cast) has buff Ancestral Guardian ) Equal to True
- ((Casting unit) belongs to an enemy of (Owner of (Target unit of ability being cast))) Equal to True
- ((Casting unit) is Magic Immune) Equal to False
- (Unit-type of (Casting unit)) Not equal to Dummy Unit
- (Unit-type of (Casting unit)) Not equal to Spell Breaker
- (Ability being cast) Not equal to Death Coil
- (Ability being cast) Not equal to Anger
- (Ability being cast) Not equal to Voodoo Doll
- (Ability being cast) Not equal to Charge
- (Ability being cast) Not equal to Epidemic
- (Ability being cast) Not equal to No Pain
- (Ability being cast) Not equal to Soul Link
- (Ability being cast) Not equal to Bladerush
- Actions
- Set Interger = 0
- Set Point = (Position of (Target unit of ability being cast))
- Unit - Create 1 Dummy Unit for (Owner of (Target unit of ability being cast)) at Point facing Default building facing degrees
- Unit - Add (Ability being cast) to (Last created unit)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Ability being cast) Equal to Frost Nova (Neutral Hostile)
- (Ability being cast) Equal to Frost Bolt
- Then - Actions
- Unit - Order (Last created unit) to Undead Lich - Frost Nova (Casting unit)
- Else - Actions
- If - Conditions
- Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Interger Equal to 0
- Then - Actions
- Floating Text - Create floating text that reads (Name of (Ability being cast)) above (Target unit of ability being cast) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Change the lifespan of (Last created floating text) to 4.00 seconds
- Floating Text - Change the fading age of (Last created floating text) to 0.50 seconds
- Floating Text - Set the velocity of (Last created floating text) to 15.00 towards 90.00 degrees
- Unit - Remove Ancestral Guardian buff from (Target unit of ability being cast)
- Else - Actions
- If - Conditions
- Events
For this short test I only used Frost Nova (Neutral Hostile), that's why my testing trigger looks like this.
With this trigger the Floating Text worked, but as far as I can see the spell doesn't get casted at the caster. Does anyone see any mestake, or a reason why this shouldn't work in this trigger?
Question 2:
I've got a Warstomp in a Spellbook, it works fine and everything... but when I try to get the unit to use the ability with a trigger:
Trigger:
- Unit - Order (Picked unit) to Orc Tauren Chieftain - War Stomp
It doesn't work at all, is it posible to order units to use abilities in spellbooks using triggers, or should I look somewere else for the problem?
(Extra question... forgot about this one:
The missile arts when using the ability Channel don't work at all, I've set an animation, speed and everything but it just doesn't show any missile art, should I use a different ability?).
Thanks for any helpfull replies and +rep for people giving any helpfull stuff.