• 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!

Arena Script

apa123

New Member
Joined
Jun 24, 2008
Messages
40
Reaction score
0
Ive remade Evil Hero's script so all credit goes to him :)


only bug i think is if 2 players goes same time they can team the quest :(

PHP:
local config = {
	message = "You now have 30 seconds to exit this room through the teleporter. It will bring you to the next room only during his time or the teleporter will disappear.",
	timeToRemove = 30, -- seconds
	teleportId = 1387,
	bosses = { -- Monster Name, Teleport To Position, Teleport Position
		["Fallen Mooh'tah Master Ghar"] = { { x = 32285, y = 31152, z = 7 }, { x = 32300, y = 31149, z = 7, stackpos = 1 } },
		["Gnorre Chyllson"] = { { x = 32271, y = 31152, z = 7 }, { x = 32286, y = 31149, z = 7, stackpos = 1 } },
		["Svoren the Mad"] = { { x = 32257, y = 31152, z = 7 }, { x = 32271, y = 31149, z = 7, stackpos = 1 } },
		["Darakan the Executioner"] = { { x = 32264, y = 31138, z = 7 }, { x = 32257, y = 31149, z = 7, stackpos = 1 } },
		["Webster"] = { { x = 32279, y = 31139, z = 7 }, { x = 32264, y = 31135, z = 7, stackpos = 1 } },
		["Norgle Glacierbeard"] = { { x = 32293, y = 31139, z = 7 }, { x = 32278, y = 31135, z = 7, stackpos = 1 } },
		["The Masked Marauder"] = { { x = 32271, y = 31125, z = 7 }, { x = 32292, y = 31135, z = 7, stackpos = 1 } },
		["Deathbringer"] = { { x = 32286, y = 31125, z = 7 }, { x = 32271, y = 31121, z = 7, stackpos = 1 } },
		["The Pit Lord"] = { { x = 32279, y = 31110, z = 7 }, { x = 32285, y = 31121, z = 7, stackpos = 1 } },
		["The Obliverator"] = { { x = 32312, y = 31134, z = 6 }, { x = 32278, y = 31108, z = 7, stackpos = 1 } },
	}
}

local function removal(position)
	if getThingfromPos(position).itemid == config.teleportId then
		doRemoveItem(getThingfromPos(position).uid)
	end
	return TRUE
end

function onDeath(cid, corpse, killer)
	local position = getCreaturePosition(cid)
	for name, pos in pairs(config.bosses) do
		if name == getCreatureName(cid) then
			teleport = doCreateTeleport(config.teleportId, pos[1], pos[2])
			doCreatureSay(cid, config.message, TALKTYPE_ORANGE_1)
			addEvent(removal, config.timeToRemove * 1000, pos[2])
		end
	end
	return TRUE
end

To get the first room you just make a boat npc that tps you there for like 10 k.

This is for the people that dont understand gesiors arena script :p
 
Back
Top