-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRunicDancingWeapon.lua
More file actions
32 lines (24 loc) · 1.04 KB
/
Copy pathRunicDancingWeapon.lua
File metadata and controls
32 lines (24 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
RunicDancingWeapon = 27893;
function OnRunicDancingWeaponSummoned(event, creature, summoner)
local cName = creature:GetName();
local sName = summoner:GetName();
creaturetoattack = summoner:GetVictim();
function Chains( event, delay, pCall, creature, creaturetoattack )
creature:CastSpell(creaturetoattack, 45524, true);
end
function IcyTouch( event, delay, pCall, creature, creaturetoattack )
creature:CastSpell(creaturetoattack, 49909, true);
end
function PlagueStrike( event, delay, pCall, creature, creaturetoattack )
creature:CastSpell(creaturetoattack, 49921, true);
end
function DeathCoil( event, delay, pCall, creature, creaturetoattack )
creature:CastSpell(creaturetoattack, 47632, true);
end
creature:AttackStart( creaturetoattack);
creature:RegisterEvent(Chains, {1000, 10000}, 1);
creature:RegisterEvent(IcyTouch, {1000, 10000}, 2);
creature:RegisterEvent(PlagueStrike, {1000, 10000}, 2);
creature:RegisterEvent(DeathCoil, {1000, 5000}, 2);
end
RegisterCreatureEvent( RunicDancingWeapon, 22, OnRunicDancingWeaponSummoned )