- Joined
- Jul 20, 2012
- Messages
- 83
Hi guys, I've got this little "moment of no idea" right now with my trigger...
This spell is a Blizzard-based AoE thing with Entagling Roots dummies:
I've done the counting by
Notes:
- pausing and unpausing functions are there as a test but it didn't work either
It always casts level 1 Bloodlust on caster no matter the number of units (still if it's bigger than 0 units)
So, any ideas where I went wrong? I'd like to have it finished as soon as possible to move on to the next stuff, thanks in advance...
This spell is a Blizzard-based AoE thing with Entagling Roots dummies:
-
Rooting Field
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Rooting Field
-
-
Actions
-
Unit Group - Pick every unit in (Units within (281.25 + (31.25 x (Real((Level of Rooting Field for (Triggering unit)))))) of (Target point of ability being cast) matching ((((Matching unit) is A structure) Equal to False) and (((Matching unit) belongs to an enemy of (Owner of (Triggering u and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Picked unit)) Not equal to Meat Wagon (Release Disease)
-
(Unit-type of (Picked unit)) Not equal to Bone Prison
-
(Unit-type of (Picked unit)) Not equal to Mailbox
-
(Unit-type of (Picked unit)) Not equal to Guardian
-
((Picked unit) is Magic Immune) Equal to False
-
((Picked unit) is alive) Equal to True
-
-
Then - Actions
-
Set Skill_RootingField[(Player number of (Owner of (Triggering unit)))] = (Skill_RootingField[(Player number of (Owner of (Triggering unit)))] + 1)
-
If (Skill_RootingField[(Player number of (Owner of (Triggering unit)))] Greater than 10) then do (Set Skill_RootingField[(Player number of (Owner of (Triggering unit)))] = 10) else do (Do nothing)
-
Unit - Create 1 Mammoth Tree (Dummy) for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing (Position of (Picked unit))
-
Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
-
Unit - Set level of Rooting Field (Dummy) for (Last created unit) to (Level of Rooting Field for (Triggering unit))
-
Unit - Order (Last created unit) to Night Elf Keeper Of The Grove - Entangling Roots (Picked unit)
-
Unit - Cause (Triggering unit) to damage (Picked unit), dealing ((Real((Strength of (Triggering unit) (Include bonuses)))) x (0.10 x (Real((Level of Thorns Aura (Mammoth Tree) for (Triggering unit)))))) damage of attack type Magic and damage type Magic
-
Unit - Create 1 Mammoth Tree (Dummy) for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing (Position of (Triggering unit))
-
Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
-
Unit - Set level of Root Hastening (Dummy) for (Last created unit) to (1 - 1)
-
Unit - Set level of Root Hastening (Dummy) for (Last created unit) to Skill_RootingField[(Player number of (Owner of (Triggering unit)))]
-
Unit - Pause (Last created unit)
-
Unit - Unpause (Last created unit)
-
Unit - Order (Last created unit) to Orc Shaman - Bloodlust (Triggering unit)
-
Set Skill_RootingField[(Player number of (Owner of (Triggering unit)))] = 0
-
-
Else - Actions
-
-
-
-
-
I've done the counting by
-
Set Skill_RootingField[(Player number of (Owner of (Triggering unit)))] = (Skill_RootingField[(Player number of (Owner of (Triggering unit)))] + 1)
Notes:
-
Unit - Set level of Root Hastening (Dummy) for (Last created unit) to (1 - 1)
- pausing and unpausing functions are there as a test but it didn't work either
It always casts level 1 Bloodlust on caster no matter the number of units (still if it's bigger than 0 units)
So, any ideas where I went wrong? I'd like to have it finished as soon as possible to move on to the next stuff, thanks in advance...