Grand Warlock Rythos
3 posters
Twist Gaming :: Gaming and Server Development :: MMORPGs Emulation & Chat :: World of Warcraft :: Emulation :: Releases
Page 1 of 1
Grand Warlock Rythos
Hello everyone, i am new to these fourms and i thought i should add a script for everyone. I am still new to lua so dont make fun . Eventually i will update it with some more things like channeling a spell(just a cool visual) befor entering combat. And i will be coming out with some new bosses. so +rep if you like . Also! if your very new to lua like i was(barely know how to make a npc talk) then ask for custom bosses and ill do what i can and make one for you.
In order to install this you need to have Notepad++ and you need to have a testing server of some sort, like a repack or something. I use this on my ArcEmu. then copy and paste this into the notepad++ then save as a WHATEVERYOUWANT.lua make sure its a lua or it wont work. then just save it to anywhere like desktop then drag it into you scripts folder. enjoy! [You must be registered and logged in to see this link.]
Script
In order to install this you need to have Notepad++ and you need to have a testing server of some sort, like a repack or something. I use this on my ArcEmu. then copy and paste this into the notepad++ then save as a WHATEVERYOUWANT.lua make sure its a lua or it wont work. then just save it to anywhere like desktop then drag it into you scripts folder. enjoy! [You must be registered and logged in to see this link.]
Script
- Code:
local NAME = "Grand Warlock Rythos"
local NPCID = 8000040
function pUnit_onspawn(pUnit, Event)
local guid = pUnit:GetGUID()
pUnit:ChannelSpell(67874, guid)
end
function pUnit_OnCombat(pUnit, event, player)
pUnit=pUnit
pUnit:SendChatMessage(42, 0, "Face The Consuming Shadows Of Rythos!")
pUnit:SetModel(10691)
pUnit:RegisterEvent("GrandWarlockRythos_ShadowBolt",3000,0)
pUnit:RegisterEvent("GrandWarlockRythos_DeathandDecay",5000,0)
pUnit:RegisterEvent("GrandWarlockRythos_ManaShield",1000,0)
pUnit:StopChannel()
end
function GrandWarlockRythos_ShadowBolt(pUnit, Event)
pUnit:CastSpellOnTarget(71297, pUnit:GetRandomPlayer(0))
end
function GrandWarlockRythos_DeathandDecay(pUnit, Event)
pUnit:SendChatMessage(42, 0, "Rythos casts Death And Decay! Move out of the way.")
pUnit:CastSpellOnTarget(71001, pUnit:GetMainTank())
end
function GrandWarlockRythos_ManaShield(pUnit, Event)
pUnit:CastSpell(29880)
end
function pUnit_OnDeath(pUnit, Event, Player)
pUnit:SetModel(263)
pUnit:RemoveEvents()
pUnit:SendChatMessage(42, 0, "I....I will return!")
end
function pUnit_OnLeaveCombat(pUnit, Event, Player)
pUnit:SetModel(263)
pUnit:RemoveEvents()
pUnit:SendChatMessage(42, 0, "I will devour your soul!")
end
RegisterUnitEvent(8000040, 1, "pUnit_OnCombat")
RegisterUnitEvent(8000040, 2, "pUnit_OnLeaveCombat")
RegisterUnitEvent(8000040, 4, "pUnit_OnDeath")
Guest- Guest
Re: Grand Warlock Rythos
Nice, I hope it works as I can't test it right now and I am not pro at lua
+rep
+rep
Re: Grand Warlock Rythos
Good work mykael i would like to work with you. I need a NPC, a Warning NPC I have it in-game but i need you to make it Warn the player and teleport him somewhere. I can give you the ID and i hope you will make it talk Or i will .kill tmykael wrote:Hello everyone, i am new to these fourms and i thought i should add a script for everyone. I am still new to lua so dont make fun . Eventually i will update it with some more things like channeling a spell(just a cool visual) befor entering combat. And i will be coming out with some new bosses. so +rep if you like . Also! if your very new to lua like i was(barely know how to make a npc talk) then ask for custom bosses and ill do what i can and make one for you.
In order to install this you need to have Notepad++ and you need to have a testing server of some sort, like a repack or something. I use this on my ArcEmu. then copy and paste this into the notepad++ then save as a WHATEVERYOUWANT.lua make sure its a lua or it wont work. then just save it to anywhere like desktop then drag it into you scripts folder. enjoy! [You must be registered and logged in to see this link.]
Script
- Code:
local NAME = "Grand Warlock Rythos"
local NPCID = 8000040
function pUnit_onspawn(pUnit, Event)
local guid = pUnit:GetGUID()
pUnit:ChannelSpell(67874, guid)
end
function pUnit_OnCombat(pUnit, event, player)
pUnit=pUnit
pUnit:SendChatMessage(42, 0, "Face The Consuming Shadows Of Rythos!")
pUnit:SetModel(10691)
pUnit:RegisterEvent("GrandWarlockRythos_ShadowBolt",3000,0)
pUnit:RegisterEvent("GrandWarlockRythos_DeathandDecay",5000,0)
pUnit:RegisterEvent("GrandWarlockRythos_ManaShield",1000,0)
pUnit:StopChannel()
end
function GrandWarlockRythos_ShadowBolt(pUnit, Event)
pUnit:CastSpellOnTarget(71297, pUnit:GetRandomPlayer(0))
end
function GrandWarlockRythos_DeathandDecay(pUnit, Event)
pUnit:SendChatMessage(42, 0, "Rythos casts Death And Decay! Move out of the way.")
pUnit:CastSpellOnTarget(71001, pUnit:GetMainTank())
end
function GrandWarlockRythos_ManaShield(pUnit, Event)
pUnit:CastSpell(29880)
end
function pUnit_OnDeath(pUnit, Event, Player)
pUnit:SetModel(263)
pUnit:RemoveEvents()
pUnit:SendChatMessage(42, 0, "I....I will return!")
end
function pUnit_OnLeaveCombat(pUnit, Event, Player)
pUnit:SetModel(263)
pUnit:RemoveEvents()
pUnit:SendChatMessage(42, 0, "I will devour your soul!")
end
RegisterUnitEvent(8000040, 1, "pUnit_OnCombat")
RegisterUnitEvent(8000040, 2, "pUnit_OnLeaveCombat")
RegisterUnitEvent(8000040, 4, "pUnit_OnDeath")
See you soon PM me.
Definetely
Keep up the good work.
Re: Grand Warlock Rythos
hehe, ok sure. but not tonight. im off to bed but im glad to help anyone with anything if i can. currently im working on a teleporter for someone's special starting place as well so id be glad to try my best with whatever. also lol whats the + rep thing for? i just see everyone doing it. Also if you want something just pm me.
Guest- Guest
Re: Grand Warlock Rythos
If you click on + button means you give +reputation to someone and for - you decrease reputation on forum. Also from time to time we give rewards for how much reputation points you have (Like King rank or God rank) and there is already running an event on our forums for King Rank (EVENT - [You must be registered and logged in to see this link.] )
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
Re: Grand Warlock Rythos
Nice work, mykael.
Even though you'r new to lua, its seems like you have no problems with it at all
Keep up the good work
If you want to join our private server as a scripter, pm me.
We would really like you to join
Moggie
Even though you'r new to lua, its seems like you have no problems with it at all
Keep up the good work
If you want to join our private server as a scripter, pm me.
We would really like you to join
Moggie
Re: Grand Warlock Rythos
awesome, im glad you all like this. im working on a boss using phases should be done in like 30 minutes-a few hours. all depends on when i get one of the phases working that arnt(wont be hard) then if i want to add some more things.
Guest- Guest
Twist Gaming :: Gaming and Server Development :: MMORPGs Emulation & Chat :: World of Warcraft :: Emulation :: Releases
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum