ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ItemControler.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ItemControler.py
@@ -1025,7 +1025,7 @@ moneyEventName = ChConfig.Def_GiveMoney_TransformItem # 货币的事件类型,因为传进来的事件类型是物品的 if tagItem.GetType() == ChConfig.Def_ItemType_AutoUseMoney: curEff = tagItem.GetEffectByIndex(0) moneyCount = curEff.GetEffectValue(0) * tagItem.GetCount() moneyCount = curEff.GetEffectValue(0) * itemCount moneyType = curEff.GetEffectValue(1) PlayerControl.GiveMoney(curPlayer, moneyType, moneyCount, moneyEventName, addDict) return True