mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-05-01 10:09:20 +02:00
8 lines
318 B
Lua
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
|