TideOfChaos
New Member
- Reaction score
- 25
Code:
Flame Bolt
Events
Time - Every 0.01 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
Or - Any (Conditions) are true
Conditions
(Item-type of (Item carried by (Picked unit) in slot 1)) Equal to Orb of Fire
(Item-type of (Item carried by (Picked unit) in slot 2)) Equal to Orb of Fire
(Item-type of (Item carried by (Picked unit) in slot 3)) Equal to Orb of Fire
Then - Actions
Unit - Add Flame Bolt to (Picked unit)
Else - Actions
Unit - Remove Flame Bolt from (Picked unit)
Now, is the map running slow because of 'Remove Ability/Add Ability' leaks, or is it due to the large amount triggers being run every 0.01 seconds?
And how can I fix this?