Beispiel #1
0
            def use(self, player, game):
                class Panther(MinionCard):
                    def __init__(self):
                        super().__init__("Panther", 2, CHARACTER_CLASS.DRUID, CARD_RARITY.SPECIAL)

                    def create_minion(self):
                        return Minion(3, 2, MINION_TYPE.BEAST)

                panther = Minion(3, 2, MINION_TYPE.BEAST)
                panther.add_to_board(Panther(), game, player, len(player.minions))
Beispiel #2
0
        def summon_treant(*args):
            class Treant(MinionCard):
                def __init__(self):
                    super().__init__("Treant", 1, CHARACTER_CLASS.DRUID, CARD_RARITY.COMMON)

                def create_minion(self):
                    return Minion(2, 2)

            treant = Minion(2, 2)
            treant.add_to_board(Treant(), game, player, len(player.minions))
Beispiel #3
0
    def use(self, player, game):
        super().use(player, game)
        class MirrorImageMinion(MinionCard):
            def __init__(self):
                super().__init__("Mirror Image", 0, CHARACTER_CLASS.MAGE, CARD_RARITY.SPECIAL, False)

            def create_minion(self, player):
                minion = Minion(0, 2)
                minion.taunt = True
                return minion

        minion1 = Minion(0, 2)
        minion2 = Minion(0, 2)
        minion1.taunt = True
        minion2.taunt = True
        minion1.add_to_board(MirrorImageMinion(), game, player, 0)
        minion2.add_to_board(MirrorImageMinion(), game, player, 0)