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)
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)
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)
def YwBossBeKill(self, bossid): # boss死亡广播(ywBossDead) # 野外BossId(id, int) log.info("=========YwBossBeKill========== %s", bossid) resp = dict(id=bossid) Game.player_mgr.broadcast("ywBossDead", resp)
def QmBossReBorn(self, bossid): # boss复活广播(qmBossRebirth) # 全民bossid(id, int) log.info("=========QmBossReBorn========== %s", bossid) resp = dict(id=bossid) Game.player_mgr.broadcast("qmBossRebirth", resp)