Moderator
M
Moderator
21:18, 22nd Sep 2009
Deuterium:
Deuterium:
1. Again, this is useless:
2. Timer runs at a very low time gap:
3. Another minor issue:
4. Instead of the areal damage which damages everyone without any filtering:
5. Add a boolean user adjustable global which allows the user to pick whether he wants the spell to damage only enemies or allies and self also.
No real problems here, only things worth mentioning. Spell functions and works well, although I must say that idea is simple and not original. However, I'd advice this to anyone searching for such a spell.
- Set M_Index[3] = 1
2. Timer runs at a very low time gap:
- Time - Every 0.01 seconds of game time
3. Another minor issue:
-
Actions
- -------- Spell --------
- Set M_Index[3] = 1
-
For each (Integer M_Index[3]) from 1 to M_Index[2], do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- M_Delay[M_Index[3]] Equal to 0.00
- M_Boolean[M_Index[3]] Equal to True
-
Then - Actions
- -------- The delay must be 0. --------
- Set M_Boolean[M_Index[3]] = False
- -------- Removes the fire circle --------
- Special Effect - Destroy M_SFX[M_Index[3]]
- -------- Creates the meteor. --------
- Special Effect - Create a special effect at M_Point[M_Index[3]] using Units\Demon\Infernal\InfernalBirth.mdl
- Special Effect - Destroy (Last created special effect)
- -------- The damage. --------
- -------- Radius, damage and speed can be changed in the setup trigger. --------
- Unit - Cause M_Caster[M_Index[3]] to damage circular area after M_Speed[M_Index[3]] seconds of radius M_Radius[M_Index[3]] at M_Point[M_Index[3]], dealing M_Damage[M_Index[3]] damage of attack type Spells and damage type Normal
- Custom script: call RemoveLocation(udg_M_Point[udg_M_Index[3]])
- Set M_Index[1] = (M_Index[1] - 1)
-
Else - Actions
- Set M_Delay[M_Index[3]] = (M_Delay[M_Index[3]] - 0.01)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- M_Index[1] Equal to 0
-
Then - Actions
- Set M_Index[2] = 0
- Trigger - Turn off (This trigger)
- Else - Actions
-
If - Conditions
- -------- End Spell --------
-
Actions
- -------- Spell --------
- Set M_Index[3] = 1
-
For each (Integer M_Index[3]) from 1 to M_Index[2], do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- M_Delay[M_Index[3]] Equal to 0.00
- M_Boolean[M_Index[3]] Equal to True
-
Then - Actions
- -------- The delay must be 0. --------
- Set M_Boolean[M_Index[3]] = False
- -------- Removes the fire circle --------
- Special Effect - Destroy M_SFX[M_Index[3]]
- -------- Creates the meteor. --------
- Special Effect - Create a special effect at M_Point[M_Index[3]] using Units\Demon\Infernal\InfernalBirth.mdl
- Special Effect - Destroy (Last created special effect)
- -------- The damage. --------
- -------- Radius, damage and speed can be changed in the setup trigger. --------
- Unit - Cause M_Caster[M_Index[3]] to damage circular area after M_Speed[M_Index[3]] seconds of radius M_Radius[M_Index[3]] at M_Point[M_Index[3]], dealing M_Damage[M_Index[3]] damage of attack type Spells and damage type Normal
- Custom script: call RemoveLocation(udg_M_Point[udg_M_Index[3]])
- Set M_Index[1] = (M_Index[1] - 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- M_Index[1] Equal to 0
-
Then - Actions
- Set M_Index[2] = 0
- Trigger - Turn off (This trigger)
- Else - Actions
-
If - Conditions
-
Else - Actions
- Set M_Delay[M_Index[3]] = (M_Delay[M_Index[3]] - 0.01)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
4. Instead of the areal damage which damages everyone without any filtering:
- Unit - Cause M_Caster[M_Index[3]] to damage circular area after M_Speed[M_Index[3]] seconds of radius M_Radius[M_Index[3]] at M_Point[M_Index[3]], dealing M_Damage[M_Index[3]] damage of attack type Spells and damage type Normal
5. Add a boolean user adjustable global which allows the user to pick whether he wants the spell to damage only enemies or allies and self also.
No real problems here, only things worth mentioning. Spell functions and works well, although I must say that idea is simple and not original. However, I'd advice this to anyone searching for such a spell.