Lady MufflaN
New Member
- Reaction score
- 4
Yes, I didn't think it was possible, but it seems like I'm now doing one of the last spells, but I have a problem, I basically want to create a spell that gives more attribute to a hero the more friendly heroes are in range, but I have no idea what conditions I can use for this, I'm totally lost, I was going to use something like
But I have no idea where to go from now, if only I could get a way of checking if allied hero units are in range I should be fine, adding attributes ain't hard, also a implementation that removes the bonus attributes if they aren't in range is essential.
Code:
Alone is Weak
Events
Unit - A unit Learns a skill
Conditions
(Learned Hero Skill) Equal to The Final Bond
(Level of The Final Bond for (Triggering unit)) Equal to 1
Actions
Set DavidFinalBond = (Position of (Triggering unit))
Set UnitsWithinDFB = (Number of units in (Units within 400.00 of DavidFinalBond))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Then - Actions
Else - Actions
But I have no idea where to go from now, if only I could get a way of checking if allied hero units are in range I should be fine, adding attributes ain't hard, also a implementation that removes the bonus attributes if they aren't in range is essential.