Uszi
New Member
- Reaction score
- 5
Hey all:
I'm making a "blaze" spell, one where after its cast it gives the unit a move speed boost and leaves a trail of fire on the ground which burns enemies...
I did a search for similar abilities... And I found one in JASS, which I'm not familiar with and which also did some stuff that I didn't want.
This is what I got so far. It works pretty well... But how do I make it MUI without making 12 seperate versions?
I changed the circle of power to a fire model with the locust ability and immolate.
I'm making a "blaze" spell, one where after its cast it gives the unit a move speed boost and leaves a trail of fire on the ground which burns enemies...
I did a search for similar abilities... And I found one in JASS, which I'm not familiar with and which also did some stuff that I didn't want.
This is what I got so far. It works pretty well... But how do I make it MUI without making 12 seperate versions?
Trigger:
- Blaze
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- Or - Any (Conditions) are true
- Conditions
- (Ability being cast) Equal to Blaze (E)
- (Ability being cast) Equal to Blaze (Q)
- (Ability being cast) Equal to Blaze (R)
- (Ability being cast) Equal to Blaze (W)
- Conditions
- Or - Any (Conditions) are true
- Actions
- Set BlazeUnit = (Triggering unit)
- Set BlazeCntDwn = 200
- Trigger - Turn on Blaze II <gen>
- Trigger - Run Blaze II <gen> (checking conditions)
- Events
Trigger:
- Blaze II
- Events
- Time - Every 0.10 seconds of game time
- Conditions
- Actions
- Unit - Create 1 Circle of Power for (Owner of BlazeUnit) at (Position of BlazeUnit) facing Default building facing degrees
- Unit - Add a 3.50 second Generic expiration timer to (Last created unit)
- Set BlazeCntDwn = (BlazeCntDwn - 1)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- BlazeCntDwn Equal to 0
- Then - Actions
- Trigger - Turn off (This trigger)
- Else - Actions
- Do nothing
- If - Conditions
- Events
I changed the circle of power to a fire model with the locust ability and immolate.