- Joined
- Jul 3, 2013
- Messages
- 25
So I made a spell based on Fan of Knives (I like the animation) and added a trigger (see below) 'cuz I wanted to throw an AoE slow on top of it.
Problem is, the slow seems to only activate on one enemy each time I cast the ability instead of all nearby enemies, and I'm not sure where the issue lies. Is it a problem with Fan of Knives specifically that I'm unaware about? I know it's not a pick range issue since doubling the range still made the slow affect only 1 target
Important, maybe: I'm using World Editor version 1.24d (yeah this thing is ancient)
Checklist:
I'd rather not base the dummy slow on Thunder Clap because of the ground deformation, for what it's worth, but if I have no choice I can switch to that instead
Problem is, the slow seems to only activate on one enemy each time I cast the ability instead of all nearby enemies, and I'm not sure where the issue lies. Is it a problem with Fan of Knives specifically that I'm unaware about? I know it's not a pick range issue since doubling the range still made the slow affect only 1 target
Important, maybe: I'm using World Editor version 1.24d (yeah this thing is ancient)
Checklist:
- Made sure that my dummy's Cast Backswing and Cast Animations were 0
- Added Invulnerable (Neutral) and Locust to the Dummy
- Model File is Zone Indicator (Custom Campaign)
- Attacks Enabled: None
- Movement Type: Fly
- Collision Size: 0.01
- Dummy Spell (based on Human Sorceress' Slow) has no cooldown, no mana cost, no casting time, and has a big cast range
- Dummy unit has a decent vision radius so it shouldn't lose sight of nearby enemies
- Made sure that the enemies I'm testing the spell on are alive, aren't magic immune/structures/allied
-
Stone Edge Level 3 Trigger
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Stone Edge
- (Level of Stone Edge for (Casting unit)) Equal to 3
-
Actions
- Set StoneEdgeCaster = (Triggering unit)
- Set StoneEdgeOwner = (Owner of StoneEdgeCaster)
- Set StoneEdgePoint = (Position of StoneEdgeCaster)
- Unit - Create 1 Stone Edge Dummy for StoneEdgeOwner at StoneEdgePoint facing Default building facing degrees
- Set StoneEdgeDummy = (Last created unit)
- Unit - Add StoneEdgeSlow Level 3 to StoneEdgeDummy
- Unit - Add a 2.00 second Generic expiration timer to StoneEdgeDummy
- Set StoneEdgePick = (Units within 375.00 of StoneEdgePoint)
-
Unit Group - Pick every unit in StoneEdgePick and do (Actions)
-
Loop - Actions
- Set StoneEdgeTemp = (Picked unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (StoneEdgeTemp is Magic Immune) Equal to False
- (StoneEdgeTemp is A structure) Equal to False
- (StoneEdgeTemp belongs to an enemy of StoneEdgeOwner) Equal to True
- (StoneEdgeTemp is alive) Equal to True
-
Then - Actions
- Unit - Order StoneEdgeDummy to Human Sorceress - Slow StoneEdgeTemp
- Else - Actions
-
If - Conditions
-
Loop - Actions
- Custom script: call RemoveLocation(udg_StoneEdgePoint)
- Custom script: call DestroyGroup(udg_StoneEdgePick)
-
Events
I'd rather not base the dummy slow on Thunder Clap because of the ground deformation, for what it's worth, but if I have no choice I can switch to that instead