9415 【BT】【后端】古神战场(增加古神币 34)
| | |
| | | CDBPlayerRefresh_ExAttr18, # ExAttr18
|
| | | CDBPlayerRefresh_ExAttr19, # ExAttr19
|
| | | CDBPlayerRefresh_CharmLV, # 魅力等级 239
|
| | | ) = range(146, 240)
|
| | | CDBPlayerRefresh_BTGMPoint, # BT版GM令 240
|
| | | CDBPlayerRefresh_GuShenMoney, # 古神币 241
|
| | | ) = range(146, 242)
|
| | |
|
| | | TYPE_Price_Gold_Paper_Money = 5 # 金钱类型,(先用礼券,再用金子)
|
| | | TYPE_Price_Family_Contribution = 6 # 战盟贡献度(活跃度转换得来)
|
| | |
| | | TYPE_Price_SoulCore = 30 # 核心环
|
| | | TYPE_Price_FuncSysPrivilege = 31 # 功能系统特权令
|
| | | TYPE_Price_Environment = 32 # 环保值
|
| | | TYPE_Price_BTGMPoint = 33 # BT版GM令
|
| | | TYPE_Price_GuShenMoney = 34 # 古神币
|
| | |
|
| | | #以下是旧的金钱类型
|
| | | TYPE_Price_Magic_Integral = 101 # 魔方寻宝积分
|
| | |
| | | TYPE_Price_BossActScore:CDBPlayerRefresh_BossActScore,
|
| | | TYPE_Price_FuncSysPrivilege:CDBPlayerRefresh_FuncSysPrivilege,
|
| | | TYPE_Price_Environment:CDBPlayerRefresh_Environment,
|
| | | TYPE_Price_BTGMPoint:CDBPlayerRefresh_BTGMPoint,
|
| | | TYPE_Price_GuShenMoney:CDBPlayerRefresh_GuShenMoney,
|
| | | }
|
| | |
|
| | | # 支持负值的货币及对应0418刷新类型
|
| | |
| | | Def_ItemID_Honor = 2141 # 直接给荣誉
|
| | | Def_ItemID_FuncSysPrivilege = 894 # 直接给功能特权令
|
| | | Def_ItemID_FCPartyPoint = 718 # 直接给仙界盛典嗨点
|
| | | Def_ItemID_BTGMPoint = 450 # 直接给GM令
|
| | | Def_ItemID_GuShenMoney = 520 # 直接给古神币
|
| | | Def_TransformItemIDList = [Def_ItemID_FamilyContribution, Def_ItemID_FamilyActive, Def_ItemID_SP, Def_ItemID_GoldPaper,
|
| | | Def_ItemID_RealmPoint, Def_ItemID_SilverMoney, Def_ItemID_BossReborn, Def_ItemID_Ysog,
|
| | | Def_ItemID_SoulDust, Def_ItemID_SoulSplinters, Def_ItemID_SoulCore, Def_ItemID_Honor, Def_ItemID_GoldMoney,
|
| | | Def_ItemID_FuncSysPrivilege, Def_ItemID_FCPartyPoint]
|
| | | Def_ItemID_FuncSysPrivilege, Def_ItemID_FCPartyPoint, Def_ItemID_BTGMPoint, Def_ItemID_GuShenMoney]
|
| | | #---------------------------------------------------------------------
|
| | | #写死的物品类型都放这边
|
| | | Def_ItemType_All = -1 #所有类型
|
| | |
| | | moneyNameDict = {
|
| | | 1:"仙玉", 2:"绑玉", 3:"铜钱", 6:"战盟贡献度", 10:"战盟仓库积分", 13:"境界修行点", 14:"符印融合石", 15:"仙盟活跃令",
|
| | | 16:"助战积分", 18:"荣誉", 19:"Boss积分", 23:"符印精华", 24:"符印碎片", 25:"寻宝积分", 26:"集市额度", 27:"丹精", 28:"魂尘",
|
| | | 29:"聚魂碎片", 30:"核心环", 31:"功能特权令", 32:"环保值"
|
| | | 29:"聚魂碎片", 30:"核心环", 31:"功能特权令", 32:"环保值", 33:"GM令", 34:"古神币"
|
| | | }
|
| | |
|
| | | ## GM命令执行入口
|
| | |
| | | PlayerControl.GiveMoney(curPlayer, ShareDefine.TYPE_Price_FuncSysPrivilege, itemCount)
|
| | | elif itemID == ChConfig.Def_ItemID_FCPartyPoint:
|
| | | PlayerFairyCeremony.AddFCPartyPoint(curPlayer, itemCount)
|
| | | elif itemID == ChConfig.Def_ItemID_BTGMPoint:
|
| | | PlayerControl.GiveMoney(curPlayer, ShareDefine.TYPE_Price_BTGMPoint, itemCount)
|
| | | elif itemID == ChConfig.Def_ItemID_GuShenMoney:
|
| | | PlayerControl.GiveMoney(curPlayer, ShareDefine.TYPE_Price_GuShenMoney, itemCount)
|
| | | return True
|
| | |
|
| | | def __CrossServerPutInItem(self, packIndex, tagItem, event=["", False, {}]):
|
| | |
| | | CDBPlayerRefresh_ExAttr18, # ExAttr18
|
| | | CDBPlayerRefresh_ExAttr19, # ExAttr19
|
| | | CDBPlayerRefresh_CharmLV, # 魅力等级 239
|
| | | ) = range(146, 240)
|
| | | CDBPlayerRefresh_BTGMPoint, # BT版GM令 240
|
| | | CDBPlayerRefresh_GuShenMoney, # 古神币 241
|
| | | ) = range(146, 242)
|
| | |
|
| | | TYPE_Price_Gold_Paper_Money = 5 # 金钱类型,(先用礼券,再用金子)
|
| | | TYPE_Price_Family_Contribution = 6 # 战盟贡献度(活跃度转换得来)
|
| | |
| | | TYPE_Price_SoulCore = 30 # 核心环
|
| | | TYPE_Price_FuncSysPrivilege = 31 # 功能系统特权令
|
| | | TYPE_Price_Environment = 32 # 环保值
|
| | | TYPE_Price_BTGMPoint = 33 # BT版GM令
|
| | | TYPE_Price_GuShenMoney = 34 # 古神币
|
| | |
|
| | | #以下是旧的金钱类型
|
| | | TYPE_Price_Magic_Integral = 101 # 魔方寻宝积分
|
| | |
| | | TYPE_Price_BossActScore:CDBPlayerRefresh_BossActScore,
|
| | | TYPE_Price_FuncSysPrivilege:CDBPlayerRefresh_FuncSysPrivilege,
|
| | | TYPE_Price_Environment:CDBPlayerRefresh_Environment,
|
| | | TYPE_Price_BTGMPoint:CDBPlayerRefresh_BTGMPoint,
|
| | | TYPE_Price_GuShenMoney:CDBPlayerRefresh_GuShenMoney,
|
| | | }
|
| | |
|
| | | # 支持负值的货币及对应0418刷新类型
|