Exemplo n.º 1
0
    def gloria_postlude(self):

        Logger.log(
            "Postlude phase starting for " + self.p1.username + ", " +
            self.p2.username, LogCodes.Match)

        Ability.use_passive_ability(self.p1, self.p2, self.phase)
        Ability.use_passive_ability(self.p1, self.p2, self.phase,
                                    self.p1.rability)

        Ability.use_passive_ability(self.p2, self.p1, self.phase)
        Ability.use_passive_ability(self.p2, self.p1, self.phase,
                                    self.p2.rability)
Exemplo n.º 2
0
    def gloria_postlude(self):

        Logger.log("Postlude phase starting for " + self.player1.username +
                   ", " + self.player2.username)

        Ability.use_passive_ability(self.player1, self.player2, self.phase,
                                    self.player1.cat)
        Ability.use_passive_ability(self.player1, self.player2, self.phase,
                                    self.player1.rability)

        Ability.use_passive_ability(self.player2, self.player1, self.phase,
                                    self.player2.cat)
        Ability.use_passive_ability(self.player2, self.player1, self.phase,
                                    self.player2.rability)
Exemplo n.º 3
0
    def gloria_prelude(self):

        Logger.log(
            "Prelude phase starting for " + self.p1.username + ", " +
            self.p2.username, LogCodes.Match)

        # Reset players per round stats
        self.reset_attributes(self.p1)
        self.reset_attributes(self.p2)

        # Decrease any abilities on cooldown
        Ability.decrease_cooldowns(self.p1)
        Ability.decrease_cooldowns(self.p2)

        # Check passive abilities
        Ability.use_passive_ability(self.p1, self.p2, self.phase)
        Ability.use_passive_ability(self.p1, self.p2, self.phase,
                                    self.p1.rability)

        Ability.use_passive_ability(self.p2, self.p1, self.phase)
        Ability.use_passive_ability(self.p2, self.p1, self.phase,
                                    self.p2.rability)