i posted a thread asking for help and i got it and followed to the exact thing but it says it doesnt work.. the spell is supposed to boost stats for each unit around the hero but im not sure why its not working. also can i have some explainingin my action where it says add attribute bonus part please.
here is link
http://www.thehelper.net/forums/showthread.php?t=115409
Untitled Trigger 001
Events
Unit - A unit Learns a skill
Conditions
(Learned Hero Skill) Equal to war hero
Actions
Set hero1 = (Learning Hero)
Set point1 = (Position of hero1)
Unit - Add Attribute Bonus to hero1
Set temp_group = (Units within 300.00 of point1 matching (((Matching unit) is in (Units owned by (Owner of hero1))) Equal to True))
For each (Integer A) from 1 to ((Number of units in temp_group) + 1), do (Actions)
Loop - Actions
Unit - Set level of Attribute Bonus for hero1 to (((Integer A) + 1) + 1)
Custom script: call DestroyGroup (udg_temp_group)
Custom script: call RemoveLocation (udg_point1)
here is link
http://www.thehelper.net/forums/showthread.php?t=115409
Untitled Trigger 001
Events
Unit - A unit Learns a skill
Conditions
(Learned Hero Skill) Equal to war hero
Actions
Set hero1 = (Learning Hero)
Set point1 = (Position of hero1)
Unit - Add Attribute Bonus to hero1
Set temp_group = (Units within 300.00 of point1 matching (((Matching unit) is in (Units owned by (Owner of hero1))) Equal to True))
For each (Integer A) from 1 to ((Number of units in temp_group) + 1), do (Actions)
Loop - Actions
Unit - Set level of Attribute Bonus for hero1 to (((Integer A) + 1) + 1)
Custom script: call DestroyGroup (udg_temp_group)
Custom script: call RemoveLocation (udg_point1)