Beispiel #1
0
 def QmBossBeKill(self, bossid, reTime):
     # boss死亡广播(qmBossDead)
     #     全民bossid(id, int)
     #     重生时间戳(time, int)
     log.info("=========QmBossBeKill========== %s %s", bossid, reTime)
     resp = dict(id=bossid, time=reTime)
     Game.player_mgr.broadcast("qmBossDead", resp)
Beispiel #2
0
 def YwBossRefresh(self, idList):
     # boss复活广播(ywBossRebirth)
     #     野外BossId列表(idList, [int])
     log.info("=========YwBossRefresh========== %s", idList)
     resp = dict(idList=idList)
     Game.player_mgr.broadcast("ywBossRebirth", resp)
     args = []
     self.logic.sendSystemTemplateMSG(1104, args)
Beispiel #3
0
 def YwBossRunaway(self, idList):
     # boss逃跑广播(ywBossRunaway)
     #     野外BossId列表(idList, [int])
     log.info("=========YwBossRunaway========== %s", idList)
     resp = dict(idList=idList)
     Game.player_mgr.broadcast("ywBossRunaway", resp)
     args = []
     self.logic.sendSystemTemplateMSG(1105, args)
Beispiel #4
0
 def YwBossBeKill(self, bossid):
     # boss死亡广播(ywBossDead)
     #     野外BossId(id, int)
     log.info("=========YwBossBeKill========== %s", bossid)
     resp = dict(id=bossid)
     Game.player_mgr.broadcast("ywBossDead", resp)
Beispiel #5
0
 def QmBossReBorn(self, bossid):
     # boss复活广播(qmBossRebirth)
     #     全民bossid(id, int)
     log.info("=========QmBossReBorn========== %s", bossid)
     resp = dict(id=bossid)
     Game.player_mgr.broadcast("qmBossRebirth", resp)