leandroluck
New Member
- Joined
- Dec 24, 2010
- Messages
- 104
- Reaction score
- 1
Code:
function onKill(creature, target)
local targetMonster = target:getMonster()
if not targetMonster or targetMonster:getName():lower() ~= 'boss1' then
return true
end
Game.createMonster('boss2', Position(32800, 32831, 14))
return true
end
<event type="kill" name="boss" script="quests/boss.lua" />
registerCreatureEvent(cid, "boss")
I have the following problem I would like when boss 1 dies boss 2 appears more is not working no error appears on the console