--------------------------NPC指令---------------------------
*getitemtocart <物品编号>,<数量>{,<玩家帐号编号>};
*getitemtocart "<物品名称>",<数量>{,<玩家帐号编号>};
*getitemtocart2 <物品编号>,<数量>,<监定>,<精链>,<强悍属性>,<卡片1>,<卡片2>,<卡片3>,<卡片4>{,<玩家帐号编号>};
*getitemtocart2 "<物品名称>",<数量>,<监定>,<精链>,<强悍属性>,<卡片1>,<卡片2>,<卡片3>,<卡片4>{,<玩家帐号编号>};
新增一个物品道具到玩家的手推车中。
当脚色没有持有手推车或是手推车的道具或负重已满,则自动放到身上,如果身上道具或负重已满,则掉落到地上。
另外新增一个变数cart_show
当cart_show的值为1,则会显示取得物品的资料於对话栏上
反之则不会显示任何讯息。
*getinventorylist;
为配合身上持有道具200的设定,因此增添了下列变数,用来读取128笔资料以後的道具资料(128~200)
@inventorylist128_id[] - array of item ids.
@inventorylist128_amount[] - their corresponding item amounts.
@inventorylist128_equip[] - whether the item is equipped or not.
@inventorylist128_refine[] - for how much it is refined.
@inventorylist128_identify[] - whether it is identified.
@inventorylist128_attribute[] - whether it is broken.
@inventorylist128_card1[] - These four arrays contain card data for the items.
@inventorylist128_card2[] These data slots are also used to store names
@inventorylist128_card3[] inscribed on the items, so you can explicitly check
@inventorylist128_card4[] if the character owns an item made by a specific
craftsman.
@inventorylist128_expire[] - expire time (Unix time stamp). 0 means never expires.
----------------------------状态---------------------------
SC_MAXWEIGHT
可以增加角色的最大负重量。
使用方法:sc_start SC_MAXWEIGHT,持续时间(单位毫秒),数量(每10点则增加脚色最大负重量1点);
---------------------------GM指令--------------------------
1.@partyinvite [要远距离组队的ID]
用於远距离组队,当你有队伍的时候,打上@partyinvite [要远距离组队的ID]即可邀请,虽然玩家打上/invite也可以达到,但是这指令是让脚本也可以使用的。
2.@alootid2 ~ alootid10
原本只有一组@alootid 现在扩充到10组。
3.@noalootid、noalootid2 ~ noalootid10
可设定不自动捡取指定道具的指令。(配合autoloot)
4.@alootidtocart、alootidtocart2 ~ alootidtocart10
可自动捡取指定道具并存入手推车内,详细图片请参考自动捡取指定道具到手推车存放
5.@showboss <首领名称>
可以在小地图上,显示地图上指定首领怪物(BOSS、MVP)目前的位置。
6.@showallboss
可以在小地图上,显示地图上所有首领怪物(BOSS、MVP)目前的位置,预设有10种不同的显示颜色。
7.原@autoloot <ON/OFF 或是输入机率> 改为@autoloot <最小捡取机率> <最大捡取机率>
----------------------------设定---------------------------
1.可以设定负重高於?%後无法使用技能和攻击。(\conf\battle\player.conf not_as_weight_rate)
2.可以设定物品的贩卖与购买价格比率。(\conf\battle\items.conf buy_sell_ratio)
--------------------------触发旗标-------------------------
1.OnPCEquip
当玩家穿上装备後触发,并回传两个变数值@nowequipid(穿上的装备ID)、@nowequiploc(穿上的装备位置)。
2.OnPCUnEquip
当玩家卸除装备後触发,并回传两个变数值@nowunequipid(卸除的装备ID)、@nowunequiploc(卸除的装备位置)。
----------------------------Bonus--------------------------
bonus bMatk,n; 魔法伤害 + n
bonus bMaxWeight,n; 最大负重量 + n (每10点为1负重)
--------------------------同盟聊天---------------------------
密语栏位输入ALLY
对话栏位输入要打的讯息。