Salve volevo sapere se questo script è giusto.
Lo script dovrebbe chiedere ematite e liv 75 per entrare in atlantide...
Lo script dovrebbe chiedere ematite e liv 75 per entrare in atlantide...
Codice:
quest grotte begin state start begin
when 20095.chat."Grotte" begin
if pc.count_item(30190) > 0 and
if pc.level >= 75 then
say("Vuoi entrare nella grotta dell'esilio?")
say("Ricorda che dovrai avere l'ematite ed essere liv 75")
local s = select ("Si entro..","Non voglio entrare")
if s == 1 then
pc.remove_item(30190,1)
pc.warp (10000,1214200)
notice_all (""..pc.get_name().." è entrato nella grotta dell'esilio")
notice_all ("E sta per iniziare una nuova avventura")
elseif s == 2 then
return
end
else
say("Mi dispiace")
return
end
end
end
end