B
butters132
Guest
I made a trigger that does aoe damage based on int but it doesn't seem to be working heres my code:
Can some1 help me out here? The message shows up but it doesn't do any damage, thanks
Code:
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Freezing Field
Actions
Set Intelligence = (Intelligence of (Casting unit) (Include bonuses))
Set Convert_int = (Real(Intelligence))
Set UnitGroup_FreezingField = (Units within 500.00 of (Target point of ability being cast) matching ((Owner of (Matching unit)) Equal to (Owner of (Triggering unit))))
Game - Display to (All players) the text: (Currently Casting: + (Name of (Ability being cast)))
Unit Group - Pick every unit in UnitGroup_FreezingField and do (Unit - Cause (Triggering unit) to damage (Picked unit), dealing (Convert_Int x 5.00) damage of attack type Spells and damage type Normal)