- Joined
- Jun 10, 2013
- Messages
- 473
as the title suggest I've made an aoe spell for my custom rejuvenation spell and I want the dummy rejuvenation to be the same level as the enchantress one I've tried this but it did not work
-
AOE 3 LEVELED REJUVENATION CUSTOM
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Rejuvenation Sylvan Enchantress
-
Actions
- Set tempPlayer = (Owner of (Triggering unit))
- Set tempPoint1 = (Target point of ability being cast)
- -------- --------------- --------
- -------- Spell --------
- Set AbilityAdd = Rejuvenation DUMMY
- -------- Radius --------
- Set tempReal = 200.00
- -------- Dummy --------
- Unit - Create 1 Dummy Spellcaster for tempPlayer at tempPoint1 facing 0.00 degrees
- Set tempUnit = (Last created unit)
- Unit - Add AbilityAdd to (Last created unit)
- Unit - Set level of Rejuvenation DUMMY for (Last created unit) to (Level of Rejuvenation Sylvan Enchantress for (Triggering unit))
- Unit - Add a 2.00 second Water Elemental expiration timer to tempUnit
- -------- --------------- --------
- Set tempGroup1 = (Units within tempReal of tempPoint1 matching ((((Owner of (Matching unit)) is an ally of tempPlayer) Equal to True) and (((Matching unit) is alive) Equal to True)))
-
Unit Group - Pick every unit in tempGroup1 and do (Actions)
-
Loop - Actions
- Unit - Order tempUnit to Night Elf Druid Of The Claw - Rejuvenation (Picked unit)
-
Loop - Actions
- Custom script: call RemoveLocation(udg_tempPoint1)
- Custom script: call DestroyGroup(udg_tempGroup1)
-
Events