hxp
2024-11-15 789490b7d362160f7fca4580df6176498e1eb271
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_PlayerBuyZhenQi.py
@@ -32,6 +32,7 @@
import PlayerNewFairyCeremony
import PlayerFeastTravel
import PlayerActLogin
import PlayerActTask
import PlayerWeekParty
import EventShell
#------------------------------------------------------------------------------ 
@@ -129,6 +130,7 @@
        PlayerControl.GiveMoney(curPlayer, giveMoneyType, addMoney, ChConfig.Def_GiveMoney_Pray, addDataDict, False)
        PlayerControl.NotifyCode(curPlayer, 'MoneyPray_HowMuch', [addMoney, giveMoneyType])
        PlayerBossReborn.AddBossRebornActionCnt(curPlayer, ChConfig.Def_BRAct_MoneyPray, 1)
        PlayerActTask.AddActTaskValue(curPlayer, ChConfig.ActTaskType_MoneyPray)
        
    #经验祈愿    
    elif buyType == ChConfig.VIPPrivilege_ExpPray:
@@ -164,6 +166,7 @@
        if not isCostItem: #用物品不增加次数
            PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_Player_Dict_HasPrayCnt % buyType, curCnt + 1)
        PlayerBossReborn.AddBossRebornActionCnt(curPlayer, ChConfig.Def_BRAct_ExpPray, 1)
        PlayerActTask.AddActTaskValue(curPlayer, ChConfig.ActTaskType_ExpPray)
    else:
        return
    EventShell.EventRespons_Pray(curPlayer, buyType)