2019-01-16 17:16:38 -05:00

8 lines
318 B
Lua

function onStepIn(creature, item, position, fromPosition)
if creature:isPlayer() and creature:getPlayer():getStorageValue(3) == 0 then
Game.createMonster("Warlock", {x = 32216, y = 31841, z = 15})
Game.createMonster("Warlock", {x = 32216, y = 31834, z = 15})
creature:getPlayer():setStorageValue(3,1)
end
end