• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Help

Lua:
function onStepIn(cid, item, pos, fromPos)
	if isPlayer(cid) and getPlayerLevel(cid) >= 120 and getCreatureStorage(cid, 8597) == 18 then
		for x = 989, 1007 do
			for y = 944, 956 do
				local f = getTopCreature({x=x, y=y, z=7}).uid
				if f ~= 0 and isMonster(f) then
					doTeleportThing(cid, {x=1002, y=945, z=7})
					doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, 'Kill all the monsters first!')
					return 
				end
			end
		end
		doTeleportThing(cid, {x=1046, y=959, z=7})
		doSendMagicEffect({x=1046, y=959, z=7}, CONST_ME_TELEPORT)
		doCreatureSetStorage(cid, 8597, 19)
		doCreatureSetStorage(cid, 1981)
		doRemoveItem(getTileItemById({x=998, y=944, z=7}, 2717).uid)
		doCreatureSay(cid, 'You\'ve done the quest, congratulations! Go and take your reward!', TALKTYPE_ORANGE_1)
	else
		doTeleportThing(cid, {x=1002, y=945, z=7})
	end
end
 
Back
Top