Neam mutat pe 4Metin.wow3.info
Neam mutat pe 4Metin.wow3.info
Neam mutat pe 4Metin.wow3.info
Neam mutat pe 4Metin.wow3.info
Neam mutat pe 4Metin.wow3.info
Neam mutat pe 4Metin.wow3.info
Neam mutat pe 4Metin.wow3.info
Neam mutat pe 4Metin.wow3.info
Neam mutat pe 4Metin.wow3.info

piatra spiritului tradusa 100% in romana

Vezi subiectul anterior Vezi subiectul urmator In jos

biggri piatra spiritului tradusa 100% in romana

Mesaj  Nemesis la data de Dum Noi 13, 2011 6:00 am

Pasi de instalare

/usr/rain/channel/share_data/locale/hongkong/quest - aici adaugati questu

Instalare

cd /usr/rain/channel/share_data/locale/hongkong/quest
./qc training_grandmaster_skill.quest
Aceasta comanda o introduceti in Consola serverului , putty , virtualbox , sau virtualpc

COD: SELECTAŢI TOT
quest training_grandmaster_skill begin
state start begin
when 50513.use begin
say_title("Piatra Spiritului")

if pc.get_skill_group() == 0 then
say("2"..pc.get_skill_group())
return
end

if get_time() < pc.getqf("next_time") then -- and not is_test_server() then
if pc.is_skill_book_no_delay() then
say("")
say("Cu aceastã piatrã a spiritului îþi poþi ridica ")
say("competenþele la un alt nivel ! Nu uita când ")
say("folosesti Piatra Spiritului , îþi scad punctele ")
say("de grad. Pentru a creºte gradul stricat vei avea ")
say("nevoie de Boabe Zen, pe care le gasesti la ")
say("Magazinul General")
say("")
wait()
say_title("Piatra Spiritului")
else
say("")
say("Te rog aºteaptã puþin timp pentru ")
say("a ridica competenþele la un alt nivel. ")
return
end
end

local result = training_grandmaster_skill.BuildGrandMasterSkillList(pc.get_job(), pc.get_skill_group())

local vnum_list = result[1]
local name_list = result[2]

if table.getn(vnum_list) == 0 then
say("")
say("Momentan nu ai nici o competenþã care trebuie ")
say("urcatã la un alt nivel ! ")
say("")
say("Incearcã mai târziu ! ")
return
end

say("")
say("Te rog alege competenþa pe care doreºti sã o creºti. ")
say("")

local menu_list = {}
table.foreach(name_list, function(i, name) table.insert(menu_list, name) end)
table.insert(menu_list, "Ieºire ")

local s=select_table(menu_list)
if table.getn(menu_list) == s then
return
end

local skill_name=name_list[s]
local skill_vnum=vnum_list[s]
local skill_level = pc.get_skill_level(skill_vnum)
local cur_alignment = pc.get_real_alignment()
local need_alignment = 1000+500*(skill_level-30)

test_chat("²{¦bµ½´c­È: "..cur_alignment)
test_chat("»Ý­nµ½´c­È: "..need_alignment)

local title=string.format("Competenþa %s urcã la nivel %d", skill_name, skill_level-30+1)

say_title(title)
say("")
say("Doreºti sã creºti aceastã competenþã? ")
say("")

if cur_alignment<-19000+need_alignment then
say_reward("12")
return
end

if cur_alignment<0 then
say_reward(string.format("Puncte: %d -> %d", need_alignment, need_alignment*2))
say_reward("Doreºti sã creºti aceastã competenþã ? ")
need_alignment=need_alignment*2
elseif cur_alignment<need_alignment then
say_reward(string.format("Puncte: %d", need_alignment))
say_reward("Doreºti sã creºti aceastã competenþã ? ")
else
say_reward(string.format("Competenþa creºte la: %d de puncte", need_alignment))
end
say("")

local s=select("Da", "Nu, Mulþumesc ")
if s==2 then
return
end


if cur_alignment>=0 and cur_alignment<need_alignment then
say_title(string.format("%s", title))
say("")
say("Pentru a urca aceastã competenþã , vei avea ")
say("nevoie de un cuvânt cheie , introdu cuvântul ")
say("cheie in casuþa de mai jos ! ")
say("")
say_reward("Metin2")
say("")
local s=input()
if s!="Metin2" then
return
end
end

if get_time() < pc.getqf("next_time") then -- and not is_test_server() then
if pc.is_skill_book_no_delay() then
pc.remove_skill_book_no_delay()
else
say("21")
return
end
end

pc.setqf("next_time", get_time()+time_hour_to_sec(number(8, 12)))

if need_alignment>0 then
if pc.learn_grand_master_skill(skill_vnum) then
pc.change_alignment(-need_alignment)


say_title(string.format("%s", title))
if 40 == pc.get_skill_level(skill_vnum) then
say(string.format("%s 20.", skill_name))
else
say("")
say(string.format("%s A fost upgradatã cu succes ! ", skill_name, skill_level-30+1+1))
end
say_reward("Competenþa ta a ajus la ")
say_reward(string.format("%d de Puncte.", need_alignment))
say("")
else
say_title(string.format("%s", title))
say("")
say("Ridicarea competenþei la urmãtorul nivel ")
say_reward("A eºuat ! Te rog încearcã mai târziu. ")
say("")
pc.change_alignment(-number(need_alignment/3, need_alignment/2))
end
end

item.remove()
end
function BuildGrandMasterSkillList(job, group)
GRAND_MASTER_SKILL_LEVEL = 30
PERFECT_MASTER_SKILL_LEVEL = 40

local skill_list = special.active_skill_list[job+1][group]
local ret_vnum_list = {}
local ret_name_list = {}

-- test_chat(string.format("job=%d, group=%d", job, group))

table.foreach(skill_list,
function(i, skill_vnum)
local skill_level = pc.get_skill_level(skill_vnum)

-- test_chat(string.format("[%d]=%d", skill_vnum, skill_level))
if skill_level >= GRAND_MASTER_SKILL_LEVEL and skill_level < PERFECT_MASTER_SKILL_LEVEL then

table.insert(ret_vnum_list, skill_vnum)
local name=locale.GM_SKILL_NAME_DICT[skill_vnum]
if name == nil then name=skill_vnum end
table.insert(ret_name_list, name)
end
end)
return {ret_vnum_list, ret_name_list}


--return {ret_vnum_list, ret_name_list}
end
end
end
avatar
Nemesis

Mesaje : 49
Data de inscriere : 11/11/2011
Varsta : 19
Localizare : Negru Voda jud ct

Vezi profilul utilizatorului

Sus In jos

Vezi subiectul anterior Vezi subiectul urmator Sus

- Subiecte similare

 
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum