Synthetics
New Member
- Reaction score
- 7
Hey all, im trying to make an stat based impale spell, the problem is im trying to get the spell to cause damge to units with a specific buff but cant get it working does anyone know how to fix it? (and i have read the tutorials ) i've pasted my trigger below. thanks in advance for your time and help.
Code:
Armageddon
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Armaggeddon
Actions
Set UnitGroup[(Player number of (Owner of (Triggering unit)))] = (Units within 700.00 of (Target point of ability being cast) matching (((Picked unit) has buff Flame Damage ) Equal to True))
Unit Group - Pick every unit in UnitGroup[(Player number of (Owner of (Triggering unit)))] and do (Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - ((Real((Intelligence of (Triggering unit) (Include bonuses)))) x 12.00)))