Ultima modifica da un moderatore:
Posto la mia quest del Tempio del Drago visto che certa gente viene a chiedermi il perchè non funzioni la quest di ADP95.
Applicate una modifica all'exit jump_all poichè non è inserito
Codice:
quest drago begin
state start begin
function t()
say_title("Spirito di un Guerriero:")
end
when 30122.chat."Stanza di Cristallo" with pc.get_map_index() != 223 begin
drago.t()
say("Vuoi accedere nella Stanza di Cristallo?")
local s = select("Si", "No")
if s == 2 then
return
end
drago.t()
say("Stai per essere teleportato...")
pc.warp(6036200, 6029300)
end
when 30122.chat."Stanza di Cristallo" with pc.get_map_index() == 223 begin
drago.t()
say("Vuoi affrontare il drago Beran Setaou?")
say("Se sei in gruppo, tutti i membri")
say("verranno teleportati con te!")
say_reward("Per farlo hai bisogno di una Ematite!")
local s = select("Ho una Ematite", "Chiudi")
if s == 2 then
return
end
if pc.count_item(30190)==0 then
drago.t()
say("Non hai nessuna Ematite!")
return
end
if party.is_party() then
if not party.is_leader() then
drago.t()
say("Non sei il capo del gruppo!")
else
drago.t()
say("Stai per essere teleportato...")
say("Il gruppo verra' teleportato con te!")
party.chat("State per affrontare il Beran Setaou!")
notice_all(pc.get_name().." e il suo gruppo sta per affrontare il Beran Setaou!")
pc.remove_item(30190, 1)
npc.purge()
wait()
d.join(223)
d.spawn_mob(2493, 182, 173)
d.spawn_mob(9012, 239, 173)
end
else
say("Stai per essere teleportato...")
notice_all(pc.get_name().." sta per affrontare il Beran Setaou!")
pc.remove_item(30190, 1)
npc.purge()
wait()
d.join(223)
d.spawn_mob(2493, 182, 173)
d.spawn_mob(9012, 239, 173)
end
end
when login with pc.get_map_index()>=2230000 and pc.get_map_index()<2240000 begin
local s = pc.get_empire()
if s==1 then
pc.set_warp_location (1, 4693, 9642)
elseif s==2 then
pc.set_warp_location (21, 557, 1579 )
elseif s==3 then
pc.set_warp_location (41, 9696 , 2784)
end
end
when 2493.kill with pc.get_map_index()>=2230000 and pc.get_map_index()<2240000 begin
notice_all(pc.get_name().." ha ucciso il drago Beran Setaou!")
chat("Usa il teleporter per uscire.")
d.spawn_mob(9012, 183, 170)
end
end
end
Applicate una modifica all'exit jump_all poichè non è inserito




