Poate cineva sa imi ofere un Quest pentru iteme de inceput full?
Nu prea stiu cum functioneaza, dar eu vreau sa ofere Fms pfm 50+str/int
Abanosi full bonus si restul accesoriilor full
Multumesc anticipat!!!
Cerere Quest
- Len.
-

- Mesaje: 411
- Membru din: 29 Ian 2020, 22:52
- Regat: Chunjo
- Aprecieri: 218
- Mulţumiri: 564
- Rezolvări prob.: 1
- Discord: Copiază ID
Cod: Selectaţi tot
quest select_item_quest begin
state start begin
when login with pc.get_level() == 1 begin
send_letter("Choose the item")
end
when button or info begin
say_title(string.format("Welcome to our server %s!", pc.get_name()))
say("For start, we give you the opportunity")
say("to choose a item with bonus.")
say("I hope you choose wise!")
say("")
local SETTINGS_DICT = {
[WARRIOR] = {
['type_weapon'] = {"Fms"},
['vnum'] = {299, 3219}
},
[ASSASSIN] = {
['type_weapon'] = {"Pumnal", "Arc"},
['vnum'] = {1179, 2199}
},
[SURA] = {
['type_weapon'] = {"Fms"},
['vnum'] = {299}
},
[SHAMAN] = {
['type_weapon'] = {"Clopot", "Evantai"},
['vnum'] = {5119, 7169}
},
}
local jobIndex = pc.get_job()
local dict = SETTINGS_DICT[jobIndex]['type_weapon']
table.insert(dict, "Exit")
local key = select_table(dict);
if (key == table.getn(dict)) then
send_letter("Choose the item")
return
end
pc.give_item2_select(SETTINGS_DICT[jobIndex]['vnum'][key])
item.set_value(0, 72, 55) -- bonus pe fms, exemplu 72 - cod pagubă medie, 55 - valoare = fms cu 55 medie.
set_state(__COMPLETE__)
end
end
state __COMPLETE__ begin end
end
- Shadow✔
-

- Mesaje: 795
- Membru din: 22 Apr 2018, 23:46
- Server: Project
- Regat: Chunjo
- Aprecieri: 129
- Mulţumiri: 254
- Discord: Copiază ID
- Contact:
Cerere rezolvată ! Mutat în cereri rezolvate !
Răspunsuri
6 Vizualizări
350
6 Vizualizări
350
Răspunsuri
2 Vizualizări
463
2 Vizualizări
463
Răspunsuri
5 Vizualizări
1777
5 Vizualizări
1777
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 4 vizitatori

