From e4645abcfe840a6f2a43b8b95ce620d8d2382fcd Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期五, 02 十一月 2018 15:00:15 +0800
Subject: [PATCH] 4551 【后端】【1.2.0】新增使用获得修行点的物品效果ID
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/Item_GiveMoney.py | 2 ++
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
index bb1002a..c47d988 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -421,6 +421,7 @@
Def_Effect_DogzEquipPlusExp = 235 # 神兽强化材料经验效果,A值基础经验,B值双倍强化消耗仙玉
Def_Effect_AddMagicWeaponUpExp = 236 # 增加法宝升星经验 A值法宝ID B值X经验
Def_Effect_ChatBubbleBox = 237 # 激活聊天气泡框,A值气泡框ID
+Def_Effect_ItemGiveRealmPoint = 238 #使用道具给予修行点
#----以下未使用或代码依然存在的---
Def_Effect_ItemGiveGongXun = 1920 #使用道具给予功勋
Def_Effect_ItemGiveHonorPoint = 1922 #使用道具给予荣誉积分
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/Item_GiveMoney.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/Item_GiveMoney.py
index 127e21d..7b18a06 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/Item_GiveMoney.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/Item_GiveMoney.py
@@ -143,5 +143,7 @@
return ShareDefine.TYPE_Price_FamilyActivity
elif curEffID == ChConfig.Def_Effect_ItemGiveFamilyContribution:
return ShareDefine.TYPE_Price_Family_Contribution
+ elif curEffID == ChConfig.Def_Effect_ItemGiveRealmPoint:
+ return ShareDefine.TYPE_Price_RealmPoint
return -1
--
Gitblit v1.8.0