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

Mawhawk world change

lucas159

New Member
Joined
Apr 8, 2012
Messages
3
Reaction score
0
So I need a script, dont know that if is creaturescript or globalevent but i want like:

I have roshamuul quest on server, i want that the Altar tasks, that one you use silencer excretion on a altar and summon a guzzlemaw... that quest set storagevalue as (ROSHAMUUL_WALL_ALTAR) I want to when that storagevalue is 250(Count as global(all players storage count for this amount) = then worldchange active, after the server save, the map open the stairs for mawhawk and he spawns each 1 hour...

here's the silencer excretion(item) script
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
if (target == nil) or not target:isItem() then
return false
end

if (target:getId() == 5016) then
item:remove()
target:transform(5017)
game:createMonster("Guzzlemaw", toPosition)
player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Dessecrating their altar will most likely demoralise the Frazzlemaws, making them very angry in the process.")
player:setStorageValue(ROSHAMUUL_WALL_ALTAR, math.max(0, player:getStorageValue(ROSHAMUUL_WALL_ALTAR)) + 1)
target:decay()
end
return true
end


Sorry for bad english i'm brazilian
 
Last edited:
Back
Top