- Joined
- Sep 9, 2015
- Messages
- 56
It simply bugs out. Any fix?
-
Chal Omenic Scrye
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Omenic Scrye
-
Actions
- -------- The target unit will be watched for 20 seconds. When it casts any spell within that time frame, it will suffer damage. --------
- Set Chal_Omenic_Index = (Chal_Omenic_Index + 1)
- Set Chal_Omenic_Caster[Chal_Omenic_Index] = (Casting unit)
- Set Chal_Omenic_Targ[Chal_Omenic_Index] = (Target unit of ability being cast)
- Set Chal_Omenic_Damage[Chal_Omenic_Index] = ((Level of Omenic Scrye for Chal_Omenic_Caster[Chal_Omenic_Index]) x 100)
- Set Chal_Omenic_Counter[Chal_Omenic_Index] = 0.00
-
Events
-
Chal Omenic Scrye Cast
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Casting unit) Equal to Chal_Omenic_Targ[Chal_Omenic_Index]
-
Conditions
-
Or - Any (Conditions) are true
-
Actions
-
For each (Integer AA_Omenic_Loop) from 1 to Chal_Omenic_Index, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Omenic Scrye for Chal_Omenic_Targ[AA_Omenic_Loop]) Less than or equal to 3
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Chal_Omenic_Targ[AA_Omenic_Loop] is A Hero) Equal to False
- (Chal_Omenic_Targ[AA_Omenic_Loop] has buff Omenic Scrye ) Equal to True
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Chal_Omenic_Targ[AA_Omenic_Loop]) Less than 6
-
Then - Actions
- Special Effect - Create a special effect attached to the chest of Chal_Omenic_Targ[AA_Omenic_Loop] using EXPSET4FXSPLSBFS\Arcane Nova\Arcane Nova.mdx
- Unit - Kill Chal_Omenic_Targ[AA_Omenic_Loop]
- Wait 1.00 seconds
- Memory Leak - Destroy (Last created special effect)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Chal_Omenic_Targ[AA_Omenic_Loop]) Greater than or equal to 6
-
Then - Actions
- Special Effect - Create a special effect attached to the chest of Chal_Omenic_Targ[AA_Omenic_Loop] using EXPSET4FXSPLSBFS\Arcane Nova\Arcane Nova.mdx
- Unit - Set life of Chal_Omenic_Targ[AA_Omenic_Loop] to ((Life of Chal_Omenic_Targ[AA_Omenic_Loop]) - (Real(Chal_Omenic_Damage[AA_Omenic_Loop])))
- Wait 1.00 seconds
- Memory Leak - Destroy (Last created special effect)
- Set Chal_Omenic_Counter[AA_Omenic_Loop] = (Chal_Omenic_Counter[AA_Omenic_Loop] + 1.00)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Chal_Omenic_Counter[AA_Omenic_Loop] Equal to 3.00
-
Then - Actions
- Unit - Remove Omenic Scrye buff from Chal_Omenic_Targ[AA_Omenic_Loop]
- Set Chal_Omenic_Targ[AA_Omenic_Loop] = Chal_Omenic_Targ[Chal_Omenic_Index]
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
For each (Integer AA_Omenic_Loop) from 1 to Chal_Omenic_Index, do (Actions)
-
Events
Last edited: