I had a problem making an "Earth Wall" spell. The spell is based on the "Storm Bolt" ability of the Mountain King. The problem is it doesn't make the dummy unit that uses the ability to damage and stun the target. The trigger is not yet finished.
-
Untitled Trigger 001
-
Events
- Unit - A unit Finishes casting an ability
-
Conditions
- (Ability being cast) Equal to Earth Wall
-
Actions
- Set Earth_Wall_CASTER = (Casting unit)
- Set Earth_Wall_TARGET = (Target unit of ability being cast)
- Set Earth_Wall_LEVEL = (Level of Earth Wall for (Casting unit))
- Set Earth_Wall_REGION = Earth Wall <gen>
- Region - Center Earth_Wall_REGION on (Position of Earth_Wall_TARGET)
- Unit - Create 1 Earth Wall for Neutral Passive at (Position of Earth_Wall_TARGET) facing Default building facing degrees
- Set Earth_Wall_DUMMY = (Last created unit)
-
Events