Die_Nasty
05-10-2009, 02:15 PM
LUA SCRIPT
Arigma The Righteous
10 Man Version
The file your about to download contains:
1 LUA File
3 SQL Files
1 Readme File
Arigma_The_Righteous.rar Download File on FileFront (http://files.filefront.com/Arigma+The+Righteousrar/;13736279;/fileinfo.html)
Enjoy
Made by Cursedshadow!
Script Preview:
function Arigma_OnCombat(Unit, Event)
local agrochoice = math.random(1,3)
if agrochoice==1 then
Unit:CastSpell(21084)
Unit:SendChatMessage(12,0,"I will finish what the Burning Legion couldnt, purge this land!")
end
if agrochoice==2 then
Unit:CastSpell(20165)
Unit:SendChatMessage(12,0,"Ill wipe you out with my Holy perfection!")
end
if agrochoice==3 then
Unit:CastSpell(31801)
Unit:SendChatMessage(12,0,"Let me Crush you!")
end
Unit:RegisterEvent("Hammer", 10000,0)
Unit:RegisterEvent("Consec", 20000,0)
Unit:RegisterEvent("Shield", 6000,0)
Unit:RegisterEvent("PhaseTwo", 5000,0)
end
function Arigma_OnLeaveCombat(Unit)
Unit:SendChatMessage(12,0,"You failed!")
Unit:RemoveEvents()
end
function Arigma_OnKilledTarget(Unit)
Unit:CastSpell(40318)
Unit:SendChatMessage(12,0,"By the Power of the Light lets finish this!")
end
function Arigma_OnDied(Unit)
Unit:SendChatMessage(12,0,"I have been defeated..but i will return as a....Martyr!")
Unit:RemoveEvents()
end
function Hammer(Unit, Event)
Unit:FullCastSpellOnTarget(13005, Unit:GetRandomPlayer(3))
end
function Consec(Unit, Event)
Unit:FullCastSpellOnTarget(41541, Unit:GetMainTank(1))
end
function Shield(Unit, Event)
Unit:FullCastSpellOnTarget(38631, Unit:GetRandomPlayer(6))
end
function PhaseTwo(Unit, Event)
if Unit:GetHealthPct() = 70 then
Unit:SendChatMessage(12,0,"Uther give me Strength!")
Unit:CastSpell(31884)
Unit:SpawnCreature(351001, x, y, z, o, 14, o)
Unit:SpawnCreature(351001, x, y, z, o, 14, o)
Unit:SpawnCreature(351001, x, y, z, o, 14, o)
Unit:SpawnCreature(351001, x, y, z, o, 14, o)
Unit:RegisterEvent("Strike", 5000,0)
Unit:RegisterEvent("Shock", 3000,0)
Unit:RegisterEvent("Repen", 10000,0)
Unit:RegisterEvent("ShadowPhaseEnter", 5000,0)
end
end
function Strike(Unit, Event)
Unit:FullCastSpellOnTarget(35395, Unit:GetMainTank(1))
end
function Shock(Unit, Event)
Unit:FullCastSpellOnTarget(38921, Unit:GetRandomPlayer(5))
end
function Repen(Unit, Event)
Unit:FullCastSpellOnTarget(20066, Unit:GetRandomPlayer(6))
end
function ShadowPhaseEnter(Unit)
if Unit:GetHealthPct() = 40 then
Unit:SetCombatCapable(1)
Unit:SendChatMessage(12,0,"ARRRGHH! Iam Tired of this Holy Light! May the Shadows of Eternity crush your souls!")
Unit:SetScale(1.5)
Unit:CastSpell(15473)
Unit:RegisterEvent("ShadowPhaseStart", 10000,0)
end
end
function ShadowPhaseStart(Unit)
Unit:SpawnCreature(351002, x, y, z, o, 14, o)
Unit:SpawnCreature(351002, x, y, z, o, 14, o)
Unit:SendChatMessage(12,0,"I will tear you apart!")
Unit:SetCombatCapable(0)
Unit:RegisterEvent("Sblast", 8000,0)
Unit:RegisterEVent("Svolley", 4000,0)
Unit:RegisterEvent("AOE", 2000,0)
Unit:RegisterEvent("Enrage", 5000,0)
end
end
function Sblast(Unit, Event)
Unit:FullCastSpellOnTarget(41078, Unit:GetMainTank(1))
end
function Svolley(Unit, Event)
Unit:FullCastSpellOnTarget(40428, Unit:GetRandomPlayer(3))
end
function AOE(Unit, Event)
local AOEE = math.random(1,4)
if AOEE==1 then
Unit:FullCastSpellOnTarget(46042, Unit:GetRandomPlayer(7))
end
if AOEE==2 then
Unit:FullCastSpellOnTarget(30898, Unit:GetRandomPlayer(7))
end
if AOEE==3 then
Unit:FullCastSpellOnTarget(42005, Unit:GetMainTank(1))
end
if AOEE==4 then
Unit:FullCastSpellOnTarget(59368, Unit:GetRandomPlayer(2))
end
end
function Enrage(Unit)
if Unit:GetHealthPct() = 17 then
Unit:SendChatMessage(12,0,"I will reign supreme, May all of Azeroth help me reach my destiny!")
Unit:SetScale(2.0)
Unit:CastSpell(54287)
Unit:RegisterEvent("ShadowRush", 15000,3)
Unit:RegisterEvent("HealReduce", 10000,5)
end
end
function ShadowRush(Unit, Event)
Unit:FullCastSpellOnTarget(32940, Unit:GetRandomPlayer(7))
end
function HealReduce(Unit, Event)
Unit:FullCastSpellOnTarget(22687, Unit:GetMainTank(1))
end
RegisterUnitEvent(351000,1,"Arigma_OnCombat")
RegisterUnitEvent(351000,2,"Arigma_OnLeaveCombat")
RegisterUnitEvent(351000,3,"Arigma_OnKilledTarget")
RegisterUnitEvent(351000,4,"Arigma_OnDied")
Arigma The Righteous
10 Man Version
The file your about to download contains:
1 LUA File
3 SQL Files
1 Readme File
Arigma_The_Righteous.rar Download File on FileFront (http://files.filefront.com/Arigma+The+Righteousrar/;13736279;/fileinfo.html)
Enjoy
Made by Cursedshadow!
Script Preview:
function Arigma_OnCombat(Unit, Event)
local agrochoice = math.random(1,3)
if agrochoice==1 then
Unit:CastSpell(21084)
Unit:SendChatMessage(12,0,"I will finish what the Burning Legion couldnt, purge this land!")
end
if agrochoice==2 then
Unit:CastSpell(20165)
Unit:SendChatMessage(12,0,"Ill wipe you out with my Holy perfection!")
end
if agrochoice==3 then
Unit:CastSpell(31801)
Unit:SendChatMessage(12,0,"Let me Crush you!")
end
Unit:RegisterEvent("Hammer", 10000,0)
Unit:RegisterEvent("Consec", 20000,0)
Unit:RegisterEvent("Shield", 6000,0)
Unit:RegisterEvent("PhaseTwo", 5000,0)
end
function Arigma_OnLeaveCombat(Unit)
Unit:SendChatMessage(12,0,"You failed!")
Unit:RemoveEvents()
end
function Arigma_OnKilledTarget(Unit)
Unit:CastSpell(40318)
Unit:SendChatMessage(12,0,"By the Power of the Light lets finish this!")
end
function Arigma_OnDied(Unit)
Unit:SendChatMessage(12,0,"I have been defeated..but i will return as a....Martyr!")
Unit:RemoveEvents()
end
function Hammer(Unit, Event)
Unit:FullCastSpellOnTarget(13005, Unit:GetRandomPlayer(3))
end
function Consec(Unit, Event)
Unit:FullCastSpellOnTarget(41541, Unit:GetMainTank(1))
end
function Shield(Unit, Event)
Unit:FullCastSpellOnTarget(38631, Unit:GetRandomPlayer(6))
end
function PhaseTwo(Unit, Event)
if Unit:GetHealthPct() = 70 then
Unit:SendChatMessage(12,0,"Uther give me Strength!")
Unit:CastSpell(31884)
Unit:SpawnCreature(351001, x, y, z, o, 14, o)
Unit:SpawnCreature(351001, x, y, z, o, 14, o)
Unit:SpawnCreature(351001, x, y, z, o, 14, o)
Unit:SpawnCreature(351001, x, y, z, o, 14, o)
Unit:RegisterEvent("Strike", 5000,0)
Unit:RegisterEvent("Shock", 3000,0)
Unit:RegisterEvent("Repen", 10000,0)
Unit:RegisterEvent("ShadowPhaseEnter", 5000,0)
end
end
function Strike(Unit, Event)
Unit:FullCastSpellOnTarget(35395, Unit:GetMainTank(1))
end
function Shock(Unit, Event)
Unit:FullCastSpellOnTarget(38921, Unit:GetRandomPlayer(5))
end
function Repen(Unit, Event)
Unit:FullCastSpellOnTarget(20066, Unit:GetRandomPlayer(6))
end
function ShadowPhaseEnter(Unit)
if Unit:GetHealthPct() = 40 then
Unit:SetCombatCapable(1)
Unit:SendChatMessage(12,0,"ARRRGHH! Iam Tired of this Holy Light! May the Shadows of Eternity crush your souls!")
Unit:SetScale(1.5)
Unit:CastSpell(15473)
Unit:RegisterEvent("ShadowPhaseStart", 10000,0)
end
end
function ShadowPhaseStart(Unit)
Unit:SpawnCreature(351002, x, y, z, o, 14, o)
Unit:SpawnCreature(351002, x, y, z, o, 14, o)
Unit:SendChatMessage(12,0,"I will tear you apart!")
Unit:SetCombatCapable(0)
Unit:RegisterEvent("Sblast", 8000,0)
Unit:RegisterEVent("Svolley", 4000,0)
Unit:RegisterEvent("AOE", 2000,0)
Unit:RegisterEvent("Enrage", 5000,0)
end
end
function Sblast(Unit, Event)
Unit:FullCastSpellOnTarget(41078, Unit:GetMainTank(1))
end
function Svolley(Unit, Event)
Unit:FullCastSpellOnTarget(40428, Unit:GetRandomPlayer(3))
end
function AOE(Unit, Event)
local AOEE = math.random(1,4)
if AOEE==1 then
Unit:FullCastSpellOnTarget(46042, Unit:GetRandomPlayer(7))
end
if AOEE==2 then
Unit:FullCastSpellOnTarget(30898, Unit:GetRandomPlayer(7))
end
if AOEE==3 then
Unit:FullCastSpellOnTarget(42005, Unit:GetMainTank(1))
end
if AOEE==4 then
Unit:FullCastSpellOnTarget(59368, Unit:GetRandomPlayer(2))
end
end
function Enrage(Unit)
if Unit:GetHealthPct() = 17 then
Unit:SendChatMessage(12,0,"I will reign supreme, May all of Azeroth help me reach my destiny!")
Unit:SetScale(2.0)
Unit:CastSpell(54287)
Unit:RegisterEvent("ShadowRush", 15000,3)
Unit:RegisterEvent("HealReduce", 10000,5)
end
end
function ShadowRush(Unit, Event)
Unit:FullCastSpellOnTarget(32940, Unit:GetRandomPlayer(7))
end
function HealReduce(Unit, Event)
Unit:FullCastSpellOnTarget(22687, Unit:GetMainTank(1))
end
RegisterUnitEvent(351000,1,"Arigma_OnCombat")
RegisterUnitEvent(351000,2,"Arigma_OnLeaveCombat")
RegisterUnitEvent(351000,3,"Arigma_OnKilledTarget")
RegisterUnitEvent(351000,4,"Arigma_OnDied")