Basically I need to complete the quest when the creature is killed.
[Eluna]: Error loading file `lua_scripts/Bragor_EndCredit.lua`
lua_scripts/Bragor_EndCredit.lua:3: attempt to index global 'Bragor' (a nil value)
I feel like I'm missing something but I can't figure it out :p
Code:function Bragor.Killed(event, killer, killed) if (quest:GetId() == 114215) then player:CompleteQuest(114215) end end RegisterCreatureEvent(36273, 7, Bragor.Killed)