9351 【BT3】【BT4】【BT5】【bt3_1.102.1】【gt_1.102.1】【主干】副本扫荡后不能完成任务(增加直接给嗨点)
# Conflicts:
# ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
| | |
| | | import ChPyNetSendPack
|
| | | import NetPackCommon
|
| | | import Operate_EquipStone
|
| | | import PlayerFairyCeremony
|
| | | import PlayerMagicWeapon
|
| | | import IpyGameDataPY
|
| | | import DataRecordPack
|
| | |
| | | PlayerControl.GiveMoney(curPlayer, IPY_GameWorld.TYPE_Price_Gold_Money, itemCount, moneyEventName, addDict)
|
| | | elif itemID == ChConfig.Def_ItemID_FuncSysPrivilege:
|
| | | PlayerControl.GiveMoney(curPlayer, ShareDefine.TYPE_Price_FuncSysPrivilege, itemCount)
|
| | | elif itemID == ChConfig.Def_ItemID_FCPartyPoint:
|
| | | PlayerFairyCeremony.AddFCPartyPoint(curPlayer, itemCount)
|
| | | return True
|
| | |
|
| | | def __CrossServerPutInItem(self, packIndex, tagItem, event=["", False, {}]):
|
| | |
| | | addPoint = (newCnt - curCnt) * singlePoint
|
| | | curPoint = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_FCPartyCurPoint)
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_FCPartyCurPoint, curPoint + addPoint)
|
| | | PlayerControl.NotifyCode(curPlayer, "AddFCPartyPoint", [addPoint])
|
| | | SyncFCPartyInfo(curPlayer, [actionID])
|
| | | return
|
| | |
|
| | | def AddFCPartyPoint(curPlayer, addPoint):
|
| | | ## 直接增加嗨点
|
| | | curPoint = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_FCPartyCurPoint)
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_FCPartyCurPoint, curPoint + addPoint)
|
| | | PlayerControl.NotifyCode(curPlayer, "AddFCPartyPoint", [addPoint])
|
| | | SyncFCPartyInfo(curPlayer)
|
| | | return
|
| | |
|
| | | def GetFCPartyAward(curPlayer, index):
|
| | | ## 全民来嗨领奖
|
| | | worldLvNum = __GetFCWorldLVIndex(curPlayer, Def_FC_Party)
|