2015年4月—2024年4月,论坛已建立9周年,欢迎加入QQ群讨论:419848937

一个比较详细点的商店物品兑换修改贴

回复
头像
天堂之手
Mr.GL
Mr.GL
帖子: 263
注册时间: 2018-02-24 21:37

一个比较详细点的商店物品兑换修改贴

帖子 天堂之手 » 2018-03-24 20:25

万能商店所在文本:L2J-CT2.5L2J-CT2.5gameserverdatascriptscustom5000_MissQueen

例:
00文本一段:tdbutton value=全能武器 action=bypass -h Quest 5000_MissQueen 01.htm width=85 height=25 back=L2UI_ct1.button_df fore=L2UI_ct1.button_dftd
01文本一段:tdbutton value=A 级武器 action=bypass -h npc_%objectId%_multisell 1000004 width=85 height=30 back=L2UI_ct1.button_df fore=L2UI_ct1.button_dftd
03文本一段:tdbutton value=A 级首饰 action=bypass -h npc_%objectId%_Buy 88000405 width=85 height=30 back=L2UI_ct1.button_df fore=L2UI_ct1.button_dftd
释:
用文本打开00文件 ,00代表商店1级菜单,01.htm代表5000_MissQueen目录下的子文本也就是商店的2级菜单
width=85 height=25 代表菜单字体框的长宽
L2UI_ct1.button_df fore=L2UI_ct1.button_df代表代表菜单字体框风格
Buy 88000405 代表商店数据库merchant_buylists
item_id物品ID price金钱数量 shop_iD商店ID
multisell 1000004 代表multisell文件中1000004 MXL文本
修改物品兑换MXL文本地址:L2J-CT2.5L2J-CT2.5gameserverdatamultisell
例:
item id=1
ingredient id=57 count=10000000 isTaxIngredient=false
ingredient id=40000 count=200 isTaxIngredient=false
production id=6660 count=1
释:
item id=1 排序
ingredient id=57 count=10000000 57是金钱的代码
ingredient id=40000 count=200 40000金钱数量
可同理添加兑换物品
图片

回复