| **TItemWhere** | | | --- | --- | | **属性名称** | **功能** | | wDress | 衣服 | | wWeapon | 武器 | | wRightHand | 蜡烛 | | wNecklace | 项链 | | wHelmet | 头盔 | | wArmringL | 左手镯 | | wArmringR | 右手镯 | | wRingL | 左戒指 | | wRingR | 右戒指 | | wBujuk | 物品(毒符) | | wBelt | 腰带 | | wBoots | 鞋 | | wCharm | 宝石(千里传音) | | wMask | 面纱(蒙面人) | | wFashion | 时装 | | wMount | 坐骑 | | wShield | 盾牌 | | wJewelry0...5 | 首饰盒(1-6) | | wZodiac0...11 | 十二生肖(1-12) | 范例: ``` unit Q28; interface uses Classes, SysUtils; procedure Main(Npc: TNormNpc; Player: TPlayObject; Args: TArgs); implementation procedure Main(Npc: TNormNPC; Player: TPlayObject; Args: TArgs); begin //如果装备了武器,则先修复然后取下武器 if Player.Wepon <> nil then begin Player.RepairItem(Weapon); Player.TakeOffItem(Weapon); end; end; end. ```