多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
>[danger] 此功能暂时无效 | TPlayMonster(无效) | | | --- | --- | | **函数** | **功能** | | function PlayMonsterTakeOnItem(AUserItem: TUserItem; ItemWhere: TItemWhere):Boolean; | 给人形怪、英雄穿装备 | | function PlayMonsterTakeOffItem(ItemWhere: TItemWhere;Var AUserItem: TUserItem ):Boolean; | 给人形怪、英雄脱装备 | 示例: ``` If Player.Gender = 0 Then Begin AItem :=Npc.Giveitem(Player, '布衣(男)'); If AItem<> Nil Then Begin If APlayMon <> Nil Then Begin APlayMon.Playmonstertakeonitem(AItem,wDress); End; End; End; ```