| 11-25-2009, 01:33 PM | #1 |
ok I have this trigger which uses Light leakless damage detect, each time a unit with an ability (qspell) takes damage, an xecast object is created to cast acid bomb (0 damage, 15 armor penalty, 10 second duration) to the unit who deals the damage, it also blocks all damage received by the hero until the qspell is removed. PHP Code:
)I already tried removing the xecast lines and it seems working fine, I just don't know why does xecast causes lag, or maybe its just acid bomb? so how to fix this? or get rid of the lag? thanks |
| 11-25-2009, 02:03 PM | #2 |
There are better ways to reduce a unit's armour for a duration. What is the Damage Interval data field of your acid bomb set to? |
| 11-26-2009, 10:50 AM | #3 |
damage interval is 0.0, should I change this to a large value? |
| 11-26-2009, 11:43 AM | #4 |
0 damage interval will mean that the spell will deal damage infinite times in 1 second.. if you don't want the damage to occur you should set it to a very large number instead. |
| 11-26-2009, 12:27 PM | #5 |
ok, I raised the value and it works properly, thanks |
| 11-26-2009, 04:41 PM | #6 |
In the future, try zinc tags. |
