FalleStore Aka T1GR3
Bannato
Ultima modifica da un moderatore:
Salve a tutti , oggi ho effettuato uno script che voglio condividere con voi.
Lo script tratta di un npc che da armature livello 61,66 o scudi livello 61 random.
Armature 61 = +4
Armature 66 = +4
Scudi 61 = +4
Ecco a voi lo script:
Dovete creare una cartella nome: 20095 e al suo interno crearci una cartella nominata Chat.
Poi copiate questa quest sul blocco notes e salvatela col nome che volete in .quest
dopo ci ciò mettela in quest e successivamente compilatela in questo modo sulla macchina:
cd /usr/game (rain)/channel/share_data/locale/hongkong/quest
./qc nomequest.quest
+1 si accettano
Bye RiccaS
Lo script tratta di un npc che da armature livello 61,66 o scudi livello 61 random.
Armature 61 = +4
Armature 66 = +4
Scudi 61 = +4
Ecco a voi lo script:
Codice:
quest Armature/Scudi begin
state start begin
when 20095.chat."Armature/Scudi" begin
say_title("Venditore Armature/Scudi")
say("Posso darti: Armatura 61,66 o scudo 61 per 200k!")
local ric = select ("Ok","No")
if ric == 1 then
if pc . gold >= 200000
pc . changegold ( -200000 )
local a = math.random(1,2)
local b = math.random(1,2)
local c = math.random(1,2)
local d = math.random(1,2)
local e = math.random(1,4)
if a == 1
pc . give_item2 ( "11284" )
end
if a == 2
pc . give_item2 ( "11294" )
end
if b == 1
pc . give_item2 ( "11484" )
end
if b == 2
pc . give_item2 ( "11494" )
end
if c == 1
pc . give_item2 ( "11684" )
end
if c == 2
pc . give_item2 ( "11694" )
end
if d == 1
pc . give_item2 ( "11884" )
end
if d == 2
pc . give_item2 ( "11894" )
if e == 1
pc . give_item2 ( "13064" )
end
if e == 2
pc . give_item2 ( "13084" )
end
if e == 3
pc . give_item2 ( "13104" )
end
if e == 4
pc . give_item2 ( "13124" )
end
else
say_title("Venditore Armature/Scudi")
say("Non hai abbastanza soldi")
end
end
if ric == 2 then
return
end
end
end
end
Dovete creare una cartella nome: 20095 e al suo interno crearci una cartella nominata Chat.
Poi copiate questa quest sul blocco notes e salvatela col nome che volete in .quest
dopo ci ciò mettela in quest e successivamente compilatela in questo modo sulla macchina:
cd /usr/game (rain)/channel/share_data/locale/hongkong/quest
./qc nomequest.quest
+1 si accettano
Bye RiccaS
