Client side of metin2-server FEATURE-AVA2-UNLOCK P4: HEADER_CG_SASH 211 / HEADER_GC_SASH 215, a fifth awPart WORD in the character packets (old servers break), the sash part attached by scale per job/sex, the combine and absorb windows in script mt_sash, and quest tools/server/sash on 20016. The ava2items pack keeps the four grade-4 sashes plus their effects, acce window images and item_scale.txt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
51 lines
1.3 KiB
Plaintext
51 lines
1.3 KiB
Plaintext
-- 披风 (AVA2 Globales/sash.lua): 合成 / 属性吸收 窗口由 pc.open_sash(true/false) 打开。
|
|
-- AVA2 用 NPC 60003, 203 没有这个 NPC, 挂在 王铁匠 20016。
|
|
quest sash begin
|
|
state start begin
|
|
when 20016.chat."披风说明" begin
|
|
say_title(mob_name(20016))
|
|
say("")
|
|
say("披风可以吸收武器或防具的属性.")
|
|
say("")
|
|
say("[披风合成]")
|
|
say("放入两件同等级的披风合成, 成功后")
|
|
say("得到吸收率更高的披风, 失败则材料消失.")
|
|
say("")
|
|
say("[属性吸收]")
|
|
say("放入披风和一件武器或防具, 披风按吸收率")
|
|
say("获得其属性, 被吸收的装备会消失.")
|
|
say("")
|
|
end
|
|
|
|
when 20016.chat."披风合成" begin
|
|
say_title(mob_name(20016))
|
|
say("")
|
|
say("要打开披风合成窗口吗?")
|
|
say("")
|
|
local confirm = select("确定", "取消")
|
|
if confirm == 2 then
|
|
return
|
|
end
|
|
|
|
setskin(NOWINDOW)
|
|
pc.open_sash(true)
|
|
end
|
|
|
|
when 20016.chat."属性吸收" begin
|
|
say_title(mob_name(20016))
|
|
say("")
|
|
say("被吸收的装备会消失, 披风原有的吸收")
|
|
say("属性会被替换.")
|
|
say("要打开属性吸收窗口吗?")
|
|
say("")
|
|
local confirm = select("确定", "取消")
|
|
if confirm == 2 then
|
|
return
|
|
end
|
|
|
|
setskin(NOWINDOW)
|
|
pc.open_sash(false)
|
|
end
|
|
end
|
|
end
|