Hello guys, I've a public server, but my dev goes out, he's travelling and the players are claiming for something new, so I tough to create a custom boss, I did it several times and I didn't work (I never did it before, so please, don't blame me) I am running a simples creature example that I found on [Github lua scripts - example_creature.lua I think it belongs to Rochet2, so, the credits goes to him by the way.] I just changed the spell name cast..
I tried to put more spells, and I failed, can someone please, teach me how to put more spells on it? also, can someone teach me how to set spells per phase? if possible, help me to create my first boss, instead of a creature, I want to learn it, but I need help, someone to teach me, because I read lots of tuto and they are all different, most of them is for mangos, I'm running a public server on TC, and I need to improve, because I am losing players.
local npcId = 70009
local function CastArcaneBarrage(eventId, dely, calls, creature)
creature:CastSpell(creature:GetVictim(), 67996, true)
local function OnEnterCombat(event, creature, target)
creature:RegisterEvent(CastArcaneBarrage, 5000, 0)
local function OnLeaveCombat(event, creature)
creature:SendUnitYell("Haha, I'm out of combat!", 0)
local function OnDied(event, creature, killer)
if(killer:GetObjectType() == "Player") then
killer:SendBroadcastMessage("You killed " ..creature:GetName().."!")
RegisterCreatureEvent(npcId, 1, OnEnterCombat)
RegisterCreatureEvent(npcId, 2, OnLeaveCombat)
RegisterCreatureEvent(npcId, 4, OnDied)