Spawned unit with auto cast ability

Level 12
Joined
Mar 30, 2013
Messages
668
  • Actions
    • Game - Display to (All players) the text: |cff9370dbKiran|r: ...
    • Set TempGroup = (Units in (Playable map area) matching ((Owner of (Triggering unit)) Equal to Player 6 (Orange)))
    • Set TempGroup2 = (Units in (Playable map area) matching ((((Matching unit) belongs to an enemy of Player 6 (Orange)) Equal to True) and ((Unit-type of (Matching unit)) Not equal to Black Citadel)))
    • Set Unitposition = (Position of (Random unit from TempGroup2))
    • For each (Integer A) from 1 to 1, do (Actions)
      • Loop - Actions
        • Set Spawn_Point2[1] = (Random point in SpawnRegions2[(Random integer number between 1 and 3)])
        • Unit - Create 1 |cffdc143cDestruction King|r for Player 6 (Orange) at Spawn_Point2[1] facing Default building facing degrees
        • Hero - Set (Last created unit) Hero-level to 20, Show level-up graphics
        • Unit - Set level of Vampiric Aura for (Last created unit) to 3
        • Unit - Set level of Bash for (Last created unit) to 3
        • Unit - Set level of Finger of Death (Archimonde) for (Last created unit) to 1
        • Unit - Set level of Dark Portal (Archimonde) for (Last created unit) to 3
        • Unit - Set level of Rain of Chaos (Archimonde) for (Last created unit) to 3
        • Unit - Order (Last created unit) to Attack-Move To Unitposition
        • Custom script: call RemoveLocation (udg_Spawn_Point2[1])
        • Custom script: call RemoveLocation (udg_Spawn_Point2[bj_forLoopAIndex])
        • Wait 0.00 seconds
    • Custom script: call DestroyGroup(udg_TempGroup)
    • Custom script: call DestroyGroup(udg_TempGroup2)
    • Custom script: call RemoveLocation(udg_Unitposition)
    • Unit - Set level of Vampiric Aura for (Last created unit) to 3
  • [Trigger/]
BUT! Thats only the level of the skills. NOT how he uses them.
 
Last edited:
Top