From c34c903cfeecfd6e03b1f033d7de98dfabb76c0c Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期三, 10 七月 2019 15:25:44 +0800
Subject: [PATCH] 8004 子 【主干】寻宝 / 【后端】【主干】新增物品效果
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_GodArea.py | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_GodArea.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_GodArea.py
index 8520ffa..0987690 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_GodArea.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_GodArea.py
@@ -23,8 +23,12 @@
import PlayerControl
import PlayerBossReborn
import PlayerFairyCeremony
+import PlayerNewFairyCeremony
+import PlayerWeekParty
+import PlayerActLogin
import EventReport
import time
+import EventShell
Map_FBDict_LastGodAreaCheckTick = 'LastGodAreaCheckTick'
FBPlayerDict_LeaveTick = 'FBPlayerDict_LeaveTick'
@@ -137,17 +141,20 @@
FBCommon.ClearAreaRewardRecord(curPlayer.GetID())
FBCommon.SetHadDelTicket(curPlayer)
FBCommon.AddEnterFBCount(curPlayer, mapID)
+ EventShell.EventRespons_FBEvent(curPlayer, 'godarea')
PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_Player_Dict_GodArea_Anger, 0)
PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_Player_Dict_GodArea_LastAddAngerTime, 0)
PlayerControl.FBNotify('ElderGod_SomeIn', [curPlayer.GetName()])
EventReport.WriteEvent_FB(curPlayer, ChConfig.Def_FBMapID_GodArea, 0, ChConfig.CME_Log_Start)
PlayerBossReborn.AddBossRebornActionCnt(curPlayer, ChConfig.Def_BRAct_GodArea, 1)
PlayerFairyCeremony.AddFCPartyActionCnt(curPlayer, ChConfig.Def_PPAct_GodArea, 1)
+ PlayerNewFairyCeremony.AddFCPartyActionCnt(curPlayer, ChConfig.Def_PPAct_GodArea, 1)
+ PlayerWeekParty.AddWeekPartyActionCnt(curPlayer, ChConfig.Def_WPAct_GodArea, 1)
+ PlayerActLogin.AddLoginAwardActionCnt(curPlayer, ChConfig.Def_LoginAct_GodArea, 1)
elif __IsAngerFull(curPlayer):
#怒气已满,退出副本
GameWorld.DebugLog(" 副本里掉线重上 怒气已满,退出副本")
PlayerControl.PlayerLeaveFB(curPlayer)
- FBCommon.SetHadDelTicket(curPlayer, 0)
DoFBHelp(curPlayer, tick)
return
@@ -164,7 +171,6 @@
# @param tick 时间戳
# @return 返回值无意义
def DoPlayerLeaveFB(curPlayer, tick):
- FBCommon.SetHadDelTicket(curPlayer, 0)
return
##玩家切换地图
--
Gitblit v1.8.0