-
MoR
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Monologue of Righteousness
-
Actions
- Set caster = (Casting unit)
- Set AoeTargets = (Units within 500.00 of (Position of caster) matching ((Owner of (Matching unit)) Not equal to (Owner of caster)))
- Set abilitylevel = (Level of (Ability being cast) for (Triggering unit))
- Unit Group - Pick every unit in AoeTargets and do (If (((Picked unit) belongs to an enemy of (Owner of caster)) Equal to True) then do (Hero - Disable experience gain for (Picked unit)) else do (Do nothing))
- Wait 5.00 game-time seconds
- For each (Integer abilitylevel) from 1 to 3, do (Wait 5.00 seconds)
- Unit Group - Pick every unit in AoeTargets and do (Hero - Enable experience gain for (Picked unit))
- Custom script: call DestroyGroup(udg_AoeTargets)
-
Events
I read some tutorials, but still don't have a deep enough understanding to be sure. thanks!