S
Shaerventh
Guest
does anybody know how to make this spell ? or maybe some basic to make that spell ?
thanks for help
thanks for help
Test Trigger
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Diablo Thunderbolt!
Actions
Set Caster = (Triggering unit)
Set Target_Group[1] = (Units within 200.00 of (Position of Caster) matching (((Matching unit) belongs to an enemy of (Owner of Caster)) Equal to True))
Set Target_Group[2] = (Random 1 units from Target_Group[1])
Special Effect - Create a special effect attached to the origin of Caster using Abilities\Spells\NightElf\Cyclone\CycloneTarget.mdl
Set SFX[1] = (Last created special effect)
Unit Group - Pick every unit in Target_Group[2] and do (Actions)
Loop - Actions
Set Random_Unit_G = (Picked unit)
Set Random_Unit_GPos = (Position of Random_Unit_G)
Unit - Create 1 Dummy Unit for (Owner of Caster) at Random_Unit_GPos facing Default building facing degrees
---------- Add an expiration Timer --------- Forgot it.
Unit - Order (Last created unit) to Human Mountain King - Storm Bolt Random_Unit_G
Custom script: call RemoveLocation(udg_Random_Unit_GPos)
Eh, using Phoenix Fire is easier imo.
Base the ability from Roar (if you want it to only target Self) then add the Phoenix Fire ability. When the buff is gone, remove the ability.