Follow along with the video below to see how to install our site as a web app on your home screen.
Nota: This feature may not be available in some browsers.
ahahhah te sei fuori di testami disp nn ne ho idea
per aumentare 1 messaggio al contatore!
non credo funzioni...
secondo me credo k dovresti fare cosi:
if pc.get_level ( ) == 5 then
pc.give_exp_perc ("mix" , 1, 50)
e cosi via con tutti i vari livelli...
Però nn so se funge ò.ò facci sapere
stai portando la difficoltà in uno script di 8 righe u.unon credo funzioni...
secondo me credo k dovresti fare cosi:
if pc.get_level ( ) == 5 then
pc.give_exp_perc ("mix" , 1, 50)
e cosi via con tutti i vari livelli...
Però nn so se funge ò.ò facci sapere
quest nomeQuest begin
state start begin
when login or levelup with pc.get_level() >= 1 begin
set_state("missione")
end
state missione begin
when letter begin
send_letter("NomeMissione")
end
when button or info begin
say_title("Missione grazie a JAscia")
say("Scrivi uel che vuoi")
say("")
end
when (quel che deve succedere) begin
say("Ecco a te la ricompensa..")
local lv = pc.get_level()
local exp = pc.get_next_exp()
if lv >= 5 and lv < 15 then
pc.give_exp2(exp*50)
elseif lv >= 15 and lv <= 30 then
pc.give_exp2(exp*15)
elseif lv > 30 then
pc.give_exp2(exp)
end
set_state("__COMPLETE__")
end
end
state __COMPLETE__ begin
end
end