Files
metin2-client/tools/server/ava2-attr-lock/attr_lock.quest
T

19 lines
826 B
Plaintext

quest attr_lock begin
state start begin
when 50348.use or 50349.use begin
local uid = item.get_id()
say_title("属性锁定")
say("选择要锁定或解锁的普通属性序号。")
say("选好后,将这张符拖到未穿戴的装备上。")
say("锁定需要五条普通属性,最多锁定两组。")
local choice = select("第1条属性", "第2条属性", "第3条属性", "第4条属性", "第5条属性", "取消")
if choice == 6 then return end
if item.select_attr_lock(choice, uid) then
syschat("属性序号已保存,请将符拖到对应装备上。")
else
syschat("材料或角色状态已变化,请重新使用。")
end
end
end
end