Ryuu
I am back with Chocolate (:
- Reaction score
- 64
Hey all ! I have this spell.
This trigger initializes the spell:
This trigger slows the attacked unit:
This trigger is SUPPOSED to end the slow:
But, the slow duration doesn't end. The unit seems to be slowed forever.
Is there a way to make it so that the slow ends?
This trigger initializes the spell:
Trigger:
- hitsugaya shikai
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Shikai (Hitsugaya)
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- hitsu_shikai_caster_count Equal to 8000
- Then - Actions
- Set hitsu_shikai_caster_count = 1
- Else - Actions
- Set hitsu_shikai_caster_count = (hitsu_shikai_caster_count + 1)
- If - Conditions
- Set hitsu_shikai_boolean[hitsu_shikai_caster_count] = True
- Set hitsu_shikai_caster[hitsu_shikai_caster_count] = (Triggering unit)
- Unit - Add Summon Dragon to (Triggering unit)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
This trigger slows the attacked unit:
Trigger:
- hitsugaya shikai hit
- Events
- Unit - A unit Is attacked
- Conditions
- (Unit-type of (Attacking unit)) Equal to Hitsugaya Toshiro
- Actions
- For each (Integer A) from 1 to hitsu_shikai_caster_count, do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- And - All (Conditions) are true
- Conditions
- (Attacking unit) Equal to hitsu_shikai_caster[(Integer A)]
- hitsu_shikai_boolean[(Integer A)] Equal to True
- Conditions
- And - All (Conditions) are true
- Then - Actions
- Unit - Set (Attacked unit) movement speed to ((Current movement speed of (Attacked unit)) / 2.00)
- Animation - Change (Attacked unit)'s vertex coloring to (0.00%, 75.00%, 0.00%) with 0.00% transparency
- Set hitsu_shikai_waitlist[(Integer A)] = True
- Set hitsu_shikai_slowed_unit[(Integer A)] = (Attacked unit)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- For each (Integer A) from 1 to hitsu_shikai_caster_count, do (Actions)
- Events
This trigger is SUPPOSED to end the slow:
Trigger:
- hitsugaya shikai slow end
- Events
- Time - Every 0.01 seconds of game time
- Conditions
- Actions
- For each (Integer A) from 1 to hitsu_shikai_caster_count, do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- hitsu_shikai_waitlist[(Integer A)] Equal to True
- Then - Actions
- Set hitsu_shikai_slow_timer[(Integer A)] = (hitsu_shikai_slow_timer[(Integer A)] + 1)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- hitsu_shikai_slow_timer[(Integer A)] Equal to 12000
- Then - Actions
- Set hitsu_shikai_slow_timer[(Integer A)] = 0
- Unit - Set hitsu_shikai_slowed_unit[(Integer A)] movement speed to (Current movement speed of hitsu_shikai_slowed_unit[(Integer A)])
- Animation - Change hitsu_shikai_slowed_unit[(Integer A)]'s vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
- Else - Actions
- If - Conditions
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- For each (Integer A) from 1 to hitsu_shikai_caster_count, do (Actions)
- Events
But, the slow duration doesn't end. The unit seems to be slowed forever.
Is there a way to make it so that the slow ends?