- Joined
- Jun 15, 2016
- Messages
- 753
Basically, those skills are leakless and simple. But if I use similar skills based on Period Event at the same time, the map will gonna be lag seriously. I really appreciate if someone can find a new method which works similarly to those skills but without lagging problem, of course. For example, I want to make a custom aura skill which increases max hit points of nearby friendly units (only work when staying close):
Is there any alternative way to make this work without using Periodic Event? Please help me.
Code:
Blood Aura Copy
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) has buff Blood Aura ) Equal to True
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Blood Aura for WarlordU) Equal to 1
Then - Actions
Unit - Add Blood Life (100) to (Picked unit)
Unit - Remove Blood Life (145) from (Picked unit)
Unit - Remove Blood Life (200) from (Picked unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Blood Aura for WarlordU) Equal to 2
Then - Actions
Unit - Add Blood Life (145) to (Picked unit)
Unit - Remove Blood Life (100) from (Picked unit)
Unit - Remove Blood Life (200) from (Picked unit)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Blood Aura for WarlordU) Equal to 3
Then - Actions
Unit - Add Blood Life (200) to (Picked unit)
Unit - Remove Blood Life (100) from (Picked unit)
Unit - Remove Blood Life (145) from (Picked unit)
Else - Actions
Else - Actions
Is there any alternative way to make this work without using Periodic Event? Please help me.