9811 【BT9】【后端】逐鹿万界(增加万界积分货币40; 自动获得万界积分货币物品ID 540) hygtgame
| | |
| | | Def_ItemID_GoldPaper = 30 # 直接给绑玉/灵石
|
| | | Def_ItemID_SilverPaper = 500 # 直接给金票物品
|
| | | Def_ItemID_GongdePoint = 530 # 直接给功德点
|
| | | Def_ItemID_FamilyFlagWarPoint = 540 # 直接给万界积分
|
| | | # 货币类型对应直接给货币物品ID
|
| | | MoneyItemIDDict = {IPY_GameServer.TYPE_Price_Gold_Money:Def_ItemID_GoldMoney,
|
| | | IPY_GameServer.TYPE_Price_Gold_Paper:Def_ItemID_GoldPaper,
|
| | | IPY_GameServer.TYPE_Price_Silver_Paper:Def_ItemID_SilverPaper,
|
| | | ShareDefine.TYPE_Price_GongdePoint:Def_ItemID_GongdePoint,
|
| | | ShareDefine.TYPE_Price_FamilyFlagWarPoint:Def_ItemID_FamilyFlagWarPoint,
|
| | | }
|
| | |
|
| | |
| | | CDBPlayerRefresh_JiYuan, # 机缘币 245
|
| | | CDBPlayerRefresh_BTGMYuE, # BTGM余额 246
|
| | | CDBPlayerRefresh_SuccessScore, # 成就积分 247
|
| | | ) = range(146, 248)
|
| | | CDBPlayerRefresh_FamilyFlagWarPoint, # 成就积分 248
|
| | | ) = range(146, 249)
|
| | |
|
| | | TYPE_Price_Gold_Paper_Money = 5 # 金钱类型,(先用礼券,再用金子)
|
| | | TYPE_Price_Family_Contribution = 6 # 战盟贡献度(活跃度转换得来)
|
| | |
| | | TYPE_Price_JiYuan = 37 # 机缘币
|
| | | TYPE_Price_BTGMYuE = 38 # GM余额
|
| | | TYPE_Price_SuccessSocre = 39 # 成就积分
|
| | | TYPE_Price_FamilyFlagWarPoint = 40 # 万界积分
|
| | |
|
| | | #key可用于遍历所有货币,value仅GM相关会用到
|
| | | MoneyNameDict = {
|
| | | 1:"仙玉", 2:"绑玉", 3:"铜钱", 6:"战盟贡献度", 10:"战盟仓库积分", 13:"境界修行点", 14:"符印融合石", 15:"仙盟活跃令",
|
| | | 16:"助战积分", 18:"荣誉", 19:"Boss积分", 23:"符印精华", 24:"符印碎片", 25:"寻宝积分", 26:"集市额度", 27:"丹精", 28:"魂尘",
|
| | | 29:"聚魂碎片", 30:"核心环", 31:"功能特权令", 32:"环保值", 33:"GM令", 34:"古神币", 35:"功德点",
|
| | | 39:"成就积分"
|
| | | 39:"成就积分", 40:"万界积分"
|
| | | }
|
| | |
|
| | | #以下是旧的金钱类型
|
| | |
| | | TYPE_Price_GuShenMoney:CDBPlayerRefresh_GuShenMoney,
|
| | | TYPE_Price_GongdePoint:CDBPlayerRefresh_GongdePoint,
|
| | | TYPE_Price_SuccessSocre:CDBPlayerRefresh_SuccessScore,
|
| | | TYPE_Price_FamilyFlagWarPoint:CDBPlayerRefresh_FamilyFlagWarPoint,
|
| | | }
|
| | |
|
| | | # 支持负值的货币及对应0418刷新类型
|
| | |
| | | Def_ItemID_BTGMPoint = 450 # 直接给GM令
|
| | | Def_ItemID_GuShenMoney = 520 # 直接给古神币
|
| | | Def_ItemID_GongdePoint = 530 # 直接给功德点
|
| | | Def_ItemID_FamilyFlagWarPoint = 540 # 直接给万界积分
|
| | | Def_ItemID_TongTianPoint = 720 # 直接给通天令经验点
|
| | | Def_ItemID_SuccessScore = 590 # 直接给成就积分
|
| | | 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_BTGMPoint, Def_ItemID_GuShenMoney,
|
| | | Def_ItemID_GongdePoint, Def_ItemID_TongTianPoint, Def_ItemID_SuccessScore]
|
| | | Def_ItemID_GongdePoint, Def_ItemID_TongTianPoint, Def_ItemID_SuccessScore,
|
| | | Def_ItemID_FamilyFlagWarPoint]
|
| | | # 货币类型对应直接给货币物品ID
|
| | | MoneyItemIDDict = {IPY_GameWorld.TYPE_Price_Gold_Money:Def_ItemID_GoldMoney,
|
| | | IPY_GameWorld.TYPE_Price_Gold_Paper:Def_ItemID_GoldPaper,
|
| | | ShareDefine.TYPE_Price_GongdePoint:Def_ItemID_GongdePoint,
|
| | | ShareDefine.TYPE_Price_FamilyFlagWarPoint:Def_ItemID_FamilyFlagWarPoint,
|
| | | }
|
| | | #---------------------------------------------------------------------
|
| | | #写死的物品类型都放这边
|
| | | Def_ItemType_All = -1 #所有类型
|
| | |
| | | PlayerControl.GiveMoney(curPlayer, ShareDefine.TYPE_Price_GuShenMoney, itemCount)
|
| | | elif itemID == ChConfig.Def_ItemID_GongdePoint:
|
| | | PlayerControl.GiveMoney(curPlayer, ShareDefine.TYPE_Price_GongdePoint, itemCount)
|
| | | elif itemID == ChConfig.Def_ItemID_FamilyFlagWarPoint:
|
| | | PlayerControl.GiveMoney(curPlayer, ShareDefine.TYPE_Price_FamilyFlagWarPoint, itemCount)
|
| | | elif itemID == ChConfig.Def_ItemID_SuccessScore:
|
| | | PlayerControl.GiveMoney(curPlayer, ShareDefine.TYPE_Price_SuccessSocre, itemCount, moneyEventName, addDict)
|
| | | return True
|
| | |
| | | CDBPlayerRefresh_JiYuan, # 机缘币 245
|
| | | CDBPlayerRefresh_BTGMYuE, # BTGM余额 246
|
| | | CDBPlayerRefresh_SuccessScore, # 成就积分 247
|
| | | ) = range(146, 248)
|
| | | CDBPlayerRefresh_FamilyFlagWarPoint, # 成就积分 248
|
| | | ) = range(146, 249)
|
| | |
|
| | | TYPE_Price_Gold_Paper_Money = 5 # 金钱类型,(先用礼券,再用金子)
|
| | | TYPE_Price_Family_Contribution = 6 # 战盟贡献度(活跃度转换得来)
|
| | |
| | | TYPE_Price_JiYuan = 37 # 机缘币
|
| | | TYPE_Price_BTGMYuE = 38 # GM余额
|
| | | TYPE_Price_SuccessSocre = 39 # 成就积分
|
| | | TYPE_Price_FamilyFlagWarPoint = 40 # 万界积分
|
| | |
|
| | | #key可用于遍历所有货币,value仅GM相关会用到
|
| | | MoneyNameDict = {
|
| | | 1:"仙玉", 2:"绑玉", 3:"铜钱", 6:"战盟贡献度", 10:"战盟仓库积分", 13:"境界修行点", 14:"符印融合石", 15:"仙盟活跃令",
|
| | | 16:"助战积分", 18:"荣誉", 19:"Boss积分", 23:"符印精华", 24:"符印碎片", 25:"寻宝积分", 26:"集市额度", 27:"丹精", 28:"魂尘",
|
| | | 29:"聚魂碎片", 30:"核心环", 31:"功能特权令", 32:"环保值", 33:"GM令", 34:"古神币", 35:"功德点",
|
| | | 39:"成就积分"
|
| | | 39:"成就积分", 40:"万界积分"
|
| | | }
|
| | |
|
| | | #以下是旧的金钱类型
|
| | |
| | | TYPE_Price_GuShenMoney:CDBPlayerRefresh_GuShenMoney,
|
| | | TYPE_Price_GongdePoint:CDBPlayerRefresh_GongdePoint,
|
| | | TYPE_Price_SuccessSocre:CDBPlayerRefresh_SuccessScore,
|
| | | TYPE_Price_FamilyFlagWarPoint:CDBPlayerRefresh_FamilyFlagWarPoint,
|
| | | }
|
| | |
|
| | | # 支持负值的货币及对应0418刷新类型
|