Hello Hive! I'm working on a spell called Vivify. I thought would be pretty simple. The spell buffs the caster, and when the caster attacks any enemy unit, the attacked unit will be silenced. I used this damage detection system. But for some reason, it causes mass lag. http://www.hiveworkshop.com/forums/spells-569/gui-friendly-damage-detection-v1-2-1-a-149098/?prev=search%3Ddamage%2520detection%26d%3Dlist%26r%3D20
- Events
- Game - GDD_Event becomes Equal to 0.00
- Conditions
- (GDD_DamageSource has buff Vivify) Equal to True
- (GDD_DamagedUnit has buff Silence) Equal to False
- Actions
- Unit - Create 1 Dummy for (Owner of GDD_DamageSource) at (Position of GDD_DamagedUnit) facing Default building facing degrees
- Unit - Add Vivify Silence to (Last created unit)
- Unit - Set level of Vivify Silence for (Last created unit) to 1
- Unit - Order (Last created unit) to Neutral Fire Lord - Soul Burn GDD_Damaged Unit
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)