Moderator
M
Moderator
14:59, 23rd Sep 2009
Deuterium:
Deuterium:
1. Use Triggering unit instead of Summoned unit. Triggering unit is said to be faster than other alternatives.
2. Instead of all this:
3. Again, same thing for the floating texts, make them above the unit instead at a point.
4. You don't use this group:
5. The spell bugs: the trap doesn't fire when units are within range. It usually only fires if there already is another trap set.
6. You might want to do some adjustments so that PT Damage trigger doesn't keep on running for a certain instance after the trap is destroyed.
7. Are you using any third party GUI program? Because I see this on my World Editor:
Well, in this spell you've got some real problems to fix, specially the bug. Work on doing so.
2. Instead of all this:
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Poison Trap for PT_Caster[PT_Index[2]]) Equal to 1
-
-
Then - Actions
-
-------- This is the damage, when an enemy unit comes near the trap. --------
-
Set PT_Damage[PT_Index[2]] = 100.00
-
-------- This is the over time damage. --------
-
Set PT_DoTDamage[PT_Index[2]] = 15.00
-
-------- This is the range of the trap. --------
-
Set PT_Range[PT_Index[2]] = 150.00
-
-------- This is the timer, how long the DoT should last. --------
-
Set PT_Duration[PT_Index[2]] = 6
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Poison Trap for PT_Caster[PT_Index[2]]) Equal to 2
-
-
Then - Actions
-
-------- Same in level 1 --------
-
Set PT_Damage[PT_Index[2]] = 150.00
-
Set PT_DoTDamage[PT_Index[2]] = 30.00
-
Set PT_Range[PT_Index[2]] = 150.00
-
Set PT_Duration[PT_Index[2]] = 6
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Poison Trap for PT_Caster[PT_Index[2]]) Equal to 3
-
-
Then - Actions
-
-------- Same in level 1 --------
-
Set PT_Damage[PT_Index[2]] = 200.00
-
Set PT_DoTDamage[PT_Index[2]] = 45.00
-
Set PT_Range[PT_Index[2]] = 150.00
-
Set PT_Duration[PT_Index[2]] = 6
-
-
Else - Actions
-
-
-
-
-
-
-------- This is the damage, when an enemy unit comes near the trap. --------
-
Set PT_Damage[1] = 100.00
-
Set PT_Damage[2] = 150.00
-
Set PT_Damage[3] = 200.00
-
-------- This is the over time damage. --------
-
Set PT_DoTDamage[1] = 15.00
-
Set PT_DoTDamage[2] = 30.00
-
Set PT_DoTDamage[3] = 45.00
-
-------- This is the range of the trap. --------
-
Set PT_Range[1] = 150.00
-
Set PT_Range[2] = 150.00
-
Set PT_Range[3] = 150.00
-
-------- This is the timer, how long the DoT should last. --------
-
Set PT_Duration[1] = 6
-
Set PT_Duration[2] = 6
-
Set PT_Duration[3] = 6
3. Again, same thing for the floating texts, make them above the unit instead at a point.
4. You don't use this group:
-
Set PT_Group[2] = (Random 1 units from PT_Group[1])
5. The spell bugs: the trap doesn't fire when units are within range. It usually only fires if there already is another trap set.
6. You might want to do some adjustments so that PT Damage trigger doesn't keep on running for a certain instance after the trap is destroyed.
7. Are you using any third party GUI program? Because I see this on my World Editor:
-
(PT_SummUnit[PT_Index[3]] is Unknown) Equal to False
Well, in this spell you've got some real problems to fix, specially the bug. Work on doing so.