Likes: 0
Results 1 to 4 of 4
-
26-02-09, 04:18 PM #1
[Share/Release] Illidanius(Illidan's Brother) [LUA]
Register to remove this adThis is My first post so dont be rude =)
This Script Is made for Norwegian Elite By: RobiiN (Me)
I just wanted to show something good, for first time! becuz the other scripts i realeased are outdated. so Here Is Illidan's Brother Illidanius
He have 5Phases I am to lazy for adding SS now, cuz i have to sleep but try him out =)
local SpawnID =Insert your NPC ID here
local NPCNAME =Illidanius
local SPAWNNAME =Illidan's Brother
local NPCID =Insert your NPC ID here
-- Start function --
function NPCNAME_OnEnterCombat(pUnit,Event)
pUnit:SetModel(22917)
pUnit:/PlaySoundToSet(22917)
pUnit:SetScale(2)
pUnit:SetCombatCapable(1)
pUnit:SetFaction(35)
pUnit:SendChatMessage(14, 0, "How Dare you?")
pUnit:RegisterEvent("NPCNAME_TalkStart1", 5000, 0)
end
-- Phase one --
function NPCNAME_SpellpUnitShear,Event)
pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlaye r(0))
pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlaye r(0))
end
function NPCNAME_SpellFlameCrash(pUnit,Event)
pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlaye r(0))
pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlaye r(0))
end
function NPCNAME_Phaseone(pUnit,Event)
Choice=math.random(1, 2, 3, 4)
if Choice==1 then
pUnit:CastSpellOnTarget(41117,pUnit:GetRandomPlaye r(0))
end
if Choice==2 then
pUnit:CastSpellOnTarget(40904,pUnit:GetRandomPlaye r(0))
end
if Choice==3 then
pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlaye r(0))
end
if Choice==4 then
pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlaye r(0))
end
end
if nit:GetHealthPct() <= 80 then
Unit:RegisterEvent("NPCNAME_Phasetwo", 1000, 0)
not Unit:RegisterEvent("NPCNAME_Phaseone", 1000, 0)
end
--Phase two--
function NPCNAME_Phasetwo(pUnit,Event)
Choice=math.random(1, 2, 3)
if Choice==1 then
pUnit:CastSpellOnTarget(40018,pUnit:GetRandomPlaye r(0))
end
if Choice==2 then
pUnit:CastSpellOnTarget(40598,pUnit:GetRandomPlaye r(0))
end
if Choice==3 then
pUnit:CastSpellOnTarget(40585,pUnit:GetRandomPlaye r(0))
end
pUnit:SendChatMessage(14, 0, "You are just little pigs, Let me fight Knaur and il show you!!")
pUnit:RegisterEvent("NPCNAME_TalkStart2", 5000, 0)
end
if nit:GetHealthPct() <= 70 then
Unit:RegisterEvent("NPCNAME_Phasethree", 1000, 0)
not Unit:RegisterEvent("NPCNAME_Phasetwo", 1000, 0
end
--Phase 3--
function NPCNAME_SpellpUnitShear,Event)
pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlaye r(0))
pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlaye r(0))
end
function NPCNAME_SpellFlameCrash(pUnit,Event)
pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlaye r(0))
pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlaye r(0))
end
function NPCNAME_Phasethree(pUnit,Event)
Choice=math.random(1, 2, 3, 4, 5)
if Choice==1 then
pUnit:CastSpellOnTarget(41117,pUnit:GetRandomPlaye r(0))
end
if Choice==2 then
pUnit:CastSpellOnTarget(40904,pUnit:GetRandomPlaye r(0))
end
if Choice==3 then
pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlaye r(0))
end
if Choice==4 then
pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlaye r(0))
end
if Choice==5 then
pUnit:CastSpellOnTarget(40932,pUnit:GetRandomPlaye r(0))
end
pUnit:SendChatMessage(14, 0, "Mohahahha, You dont have a chance against me!!")
pUnit:RegisterEvent("NPCNAME_TalkStart3", 5000, 0)
end
end
if nit:GetHealthPct() <= 50 then
Unit:RegisterEvent("NPCNAME_Phasefour", 1000, 0)
not Unit:RegisterEvent("NPCNAME_Phasethree", 1000, 0)
end
--Phase 4--
function NPCNAME_SpellR(pUnit,Event)
Choice=math.random(1, 2, 3, 4)
if Choice==1 then
pUnit:CastSpellOnTarget(41078,pUnit:GetRandomPlaye r(0))
end
if Choice==2 then
pUnit:CastSpellOnTarget(41126,pUnit:GetRandomPlaye r(0))
end
if Choice==3 then
pUnit:CastSpellOnTarget(41117,pUnit:GetRandomPlaye r(0))
end
if Choice==4 then
pUnit:CastSpellOnTarget(41142,pUnit:GetRandomPlaye r(0))
end
pUnit:SendChatMessage(14, 0, "Gaaah, That hurt!! Now boy, you signed your own death!!!")
pUnit:RegisterEvent("NPCNAME_TalkStart4", 5000, 0)
end
end
if nit:GetHealthPct() <= 25 then
Unit:RegisterEvent("NPCNAME_Phasefive", 1000, 0)
not Unit:RegisterEvent("NPCNAME_Phasefour", 1000, 0)
end
--Phase 5--
function NPCNAME_SpellpUnitShear,Event)
pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlaye r(0))
pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlaye r(0))
end
function NPCNAME_SpellFlameCrash(pUnit,Event)
pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlaye r(0))
pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlaye r(0))
end
function NPCNAME_SpellR(pUnit,Event)
Choice=math.random(1, 2, 3, 4, 5, 6, 7)
if Choice==1 then
pUnit:CastSpellOnTarget(41117,pUnit:GetMainTank(0) )
end
if Choice==2 then
pUnit:CastSpellOnTarget(40904,pUnit:GetMainTank(0) )
end
if Choice==3 then
pUnit:CastSpellOnTarget(41032,pUnit:GetMainTank(0) )
end
if Choice==4 then
pUnit:CastSpellOnTarget(40832,pUnit:GetMainTank(0) )
end
if Choice==5 then
pUnit:CastSpellOnTarget(40932,pUnit:GetRandomPlaye r(0))
end
if Choice==6 then
pUnit:CastSpellOnTarget(40647,pUnit:GetRandomPlaye r(0))
pUnit:SendChatMessage(14, 0, "Forgive me Brother I will Fall!!")
pUnit:RegisterEvent("NPCNAME_TalkStart5", 5000, 0)
end
if Choice==7 then
pUnit:CastSpellOnTarget(40683,pUnit:GetRandomPlaye r(0))
if nit:GetHealthPct() <= o then
Unit:RegisterEvent("NPCNAME_death", 1000, 0)
not Unit:RegisterEvent("NPCNAME_Phasefive", 1000, 0
end
-- Extra --
function NPCNAME_Death(pUnit)
pUnit:SetScale(2)
pUnit:/PlaySoundToSet(22917)
pUnit:RemoveEvents()
function NPCNAME_OnLeaveCombat(pUnit, event)
pUnit:RemoveEvents()
pUnit:SetModel(22917)
pUnit:SetScale(2)
end
function NPCNAME_OnKilledTarget(pUnit)
pUnit:/PlaySoundToSet(22917)
end
-- Start functions --
RegisterUnitEvent(NPCID, 1, "NPCNAME_OnEnterCombat")
RegisterUnitEvent(NPCID, 2, "NPCNAME_OnLeaveCombat")
RegisterUnitEvent(NPCID, 3, "NPCNAME_OnKilledTarget")
RegisterUnitEvent(NPCID, 4, "NPCNAME_Death")
If any bugs are found please report them to ChronosWoW // RobiiN
I dont need rep for this, only shared it for fun =) but if u want to then feel free to rep =)
› See More: [Share/Release] Illidanius(Illidan's Brother) [LUA]
-
13-03-09, 05:05 PM #2
-
14-03-09, 09:04 PM #3
- Join Date
- Feb 2009
- Location
- 00110101 01110111 00110011 01100100 00110011 01101110
- Posts
- 9
- Post Thanks / Like
- Rep Power
- 16
- Reputation
- 32
You do know that Illidans brother is Malfurion Stormrage
-
24-08-09, 03:01 PM #4
Register to remove this adNow he got 2 brothers, LS12