<s> from hearthbreaker . cards . base import MinionCard <EOL> from hearthbreaker . cards . minions . neutral import Nerubian <EOL> from hearthbreaker . cards . spells . neutral import GallywixsCoin <EOL> from hearthbreaker . game_objects import Minion <EOL> from hearthbreaker . tags . action import Kill , Bounce , Summon , Give , Damage , ChangeTarget , AddCard , IncreaseWeaponAttack <EOL> from hearthbreaker . tags . base import Effect , Deathrattle , Battlecry , Buff , ActionTag <EOL> from hearthbreaker . tags . card_source import LastCard <EOL> from hearthbreaker . tags . condition import IsMinion , IsType , NotCurrentTarget , OneIn , Not , HasCardName , OpponentMinionCountIsGreaterThan , And , IsDamaged <EOL> from hearthbreaker . tags . event import DidDamage , MinionSummoned , TurnEnded , Attack , SpellCast <EOL> from hearthbreaker . tags . selector import TargetSelector , MinionSelector , PlayerSelector , UserPicker , BothPlayer , CharacterSelector , RandomPicker , SelfSelector , EnemyPlayer , FriendlyPlayer , Attribute , WeaponSelector <EOL> from hearthbreaker . constants import CHARACTER_CLASS , CARD_RARITY , MINION_TYPE <EOL> from hearthbreaker . tags . status import Stealth , ChangeAttack , ChangeHealth <EOL> class DefiasBandit ( MinionCard ) : <EOL> def __init__ ( self ) : <EOL> super ( ) . __init__ ( "<STR_LIT>" , <NUM_LIT:1> , CHARACTER_CLASS . ROGUE , CARD_RARITY . COMMON , False ) <EOL> def create_minion ( self , player ) : <EOL> return Minion ( <NUM_LIT:2> , <NUM_LIT:1> ) <EOL> class DefiasRingleader ( MinionCard ) : <EOL> def __init__ ( self ) : <EOL> super ( ) . __init__ ( "<STR_LIT>" , <NUM_LIT:2> , CHARACTER_CLASS . ROGUE , CARD_RARITY . COMMON , <EOL> combo = Battlecry ( Summon ( DefiasBandit ( ) ) , PlayerSelector ( ) ) ) <EOL> def create_minion ( self , player ) : <EOL> return Minion ( <NUM_LIT:2> , <NUM_LIT:2> ) <EOL> class EdwinVanCleef ( MinionCard ) : <EOL> def __init__ ( self ) : <EOL> super ( ) . __init__ ( "<STR_LIT>" , <NUM_LIT:3> , CHARACTER_CLASS . ROGUE , CARD_RARITY . LEGENDARY , <EOL> battlecry = Battlecry ( Give ( [ Buff ( ChangeAttack ( Attribute ( "<STR_LIT>" , PlayerSelector ( ) ) , <NUM_LIT:2> ) ) , <EOL> Buff ( ChangeHealth ( Attribute ( "<STR_LIT>" , PlayerSelector ( ) ) , <NUM_LIT:2> ) ) ] ) , <EOL> SelfSelector ( ) ) ) <EOL> def create_minion ( self , player ) : <EOL> return Minion ( <NUM_LIT:2> , <NUM_LIT:2> ) <EOL> class Kidnapper ( MinionCard ) : <EOL> def __init__ ( self ) : <EOL> super ( ) . __init__ ( "<STR_LIT>" , <NUM_LIT:6> , CHARACTER_CLASS . ROGUE , CARD_RARITY . EPIC , <EOL> combo = Battlecry ( Bounce ( ) , MinionSelector ( picker = UserPicker ( ) , players = BothPlayer ( ) ) ) ) <EOL> def create_minion ( self , player ) : <EOL> return Minion ( <NUM_LIT:5> , <NUM_LIT:3> ) <EOL> class MasterOfDisguise ( MinionCard ) : <EOL> def __init__ ( self ) : <EOL> super ( ) . __init__ ( "<STR_LIT>" , <NUM_LIT:4> , CHARACTER_CLASS . ROGUE , CARD_RARITY . RARE , <EOL> battlecry = Battlecry ( Give ( Stealth ( ) ) , MinionSelector ( picker = UserPicker ( ) ) ) ) <EOL> def create_minion ( self , player ) : <EOL> return Minion ( <NUM_LIT:4> , <NUM_LIT:4> ) <EOL> class PatientAssassin ( MinionCard ) : <EOL> def __init__ ( self ) : <EOL> super ( ) . __init__ ( "<STR_LIT>" , <NUM_LIT:2> , CHARACTER_CLASS . ROGUE , CARD_RARITY . EPIC ) <EOL> def create_minion ( self , player ) : <EOL> return Minion ( <NUM_LIT:1> , <NUM_LIT:1> , stealth = True , effects = [ Effect ( DidDamage ( ) , ActionTag ( Kill ( ) , TargetSelector ( IsMinion ( ) ) ) ) ] ) <EOL> class SI7Agent ( MinionCard ) : <EOL> def __init__ ( self ) : <EOL> super ( ) . __init__ ( "<STR_LIT>" , <NUM_LIT:3> , CHARACTER_CLASS . ROGUE , CARD_RARITY . RARE , <EOL> combo = Battlecry ( Damage ( <NUM_LIT:2> ) , CharacterSelector ( <EOL> players = BothPlayer ( ) , picker = UserPicker ( ) ) <EOL> ) ) <EOL> def create_minion ( self , player ) : <EOL> return Minion ( <NUM_LIT:3> , <NUM_LIT:3> ) <EOL> class AnubarAmbusher ( MinionCard ) : <EOL> def __init__ ( self ) : <EOL> super ( ) . __init__ ( "<STR_LIT>" , <NUM_LIT:4> , CHARACTER_CLASS . ROGUE , CARD_RARITY . COMMON ) <EOL> def create_minion ( self , player ) : <EOL> return Minion ( <NUM_LIT:5> , <NUM_LIT:5> , deathrattle = Deathrattle ( Bounce ( ) , MinionSelector ( picker = RandomPicker ( ) ) ) ) <EOL> class OneeyedCheat ( MinionCard ) : <EOL> def __init__ ( self ) : <EOL> super ( ) . __init__ ( "<STR_LIT>" , <NUM_LIT:2> , CHARACTER_CLASS . ROGUE , CARD_RARITY . RARE , minion_type = MINION_TYPE . PIRATE ) <EOL> def create_minion ( self , player ) : <EOL> return Minion ( <NUM_LIT:4> , <NUM_LIT:1> , effects = [ Effect ( MinionSummoned ( IsType ( MINION_TYPE . PIRATE ) ) , <EOL> ActionTag ( Give ( Stealth ( ) ) , SelfSelector ( ) ) ) ] ) <EOL> class IronSensei ( MinionCard ) : <EOL> def __init__ ( self ) : <EOL> super ( ) . __init__ ( "<STR_LIT>" , <NUM_LIT:3> , CHARACTER_CLASS . ROGUE , CARD_RARITY . RARE , minion_type = MINION_TYPE . MECH ) <EOL> def create_minion ( self , player ) : <EOL> return Minion ( <NUM_LIT:2> , <NUM_LIT:2> , effects = [ Effect ( TurnEnded ( ) , ActionTag ( Give ( [ Buff ( ChangeAttack ( <NUM_LIT:2> ) ) , Buff ( ChangeHealth ( <NUM_LIT:2> ) ) ] ) , <EOL> MinionSelector ( IsType ( MINION_TYPE . MECH ) , picker = RandomPicker ( ) ) ) ) ] ) <EOL> class OgreNinja ( MinionCard ) : <EOL> def __init__ ( self ) : <EOL> super ( ) . __init__ ( "<STR_LIT>" , <NUM_LIT:5> , CHARACTER_CLASS . ROGUE , CARD_RARITY . RARE ) <EOL> def create_minion ( self , player ) : <EOL> return Minion ( <NUM_LIT:6> , <NUM_LIT:6> , stealth = True , effects = [ Effect ( Attack ( ) , <EOL> ActionTag ( ChangeTarget ( <EOL> CharacterSelector ( NotCurrentTarget ( ) , <EOL> EnemyPlayer ( ) , <EOL> RandomPicker ( ) ) ) , <EOL> SelfSelector ( ) , <EOL> And ( OneIn ( <NUM_LIT:2> ) , <EOL> OpponentMinionCountIsGreaterThan ( <NUM_LIT:0> ) ) ) ) ] ) <EOL> class TradePrinceGallywix ( MinionCard ) : <EOL> def __init__ ( self ) : <EOL> super ( ) . __init__ ( "<STR_LIT>" , <NUM_LIT:6> , CHARACTER_CLASS . ROGUE , CARD_RARITY . LEGENDARY ) <EOL> def create_minion ( self , player ) : <EOL> return Minion ( <NUM_LIT:5> , <NUM_LIT:8> , effects = [ Effect ( SpellCast ( Not ( HasCardName ( "<STR_LIT>" ) ) , EnemyPlayer ( ) ) , <EOL> ActionTag ( AddCard ( LastCard ( ) ) , <EOL> PlayerSelector ( FriendlyPlayer ( ) ) ) ) , <EOL> Effect ( SpellCast ( Not ( HasCardName ( "<STR_LIT>" ) ) , EnemyPlayer ( ) ) , <EOL> ActionTag ( AddCard ( GallywixsCoin ( ) ) , <EOL> PlayerSelector ( EnemyPlayer ( ) ) ) ) ] ) <EOL> class GoblinAutoBarber ( MinionCard ) : <EOL> def __init__ ( self ) : <EOL> super ( ) . __init__ ( "<STR_LIT>" , <NUM_LIT:2> , CHARACTER_CLASS . ROGUE , CARD_RARITY . COMMON , <EOL> minion_type = MINION_TYPE . MECH , battlecry = Battlecry ( IncreaseWeaponAttack ( <NUM_LIT:1> ) , WeaponSelector ( ) ) ) <EOL> def create_minion ( self , player ) : <EOL> return Minion ( <NUM_LIT:3> , <NUM_LIT:2> ) <EOL> class DarkIronSkulker ( MinionCard ) : <EOL> def __init__ ( self ) : <EOL> super ( ) . __init__ ( "<STR_LIT>" , <NUM_LIT:5> , CHARACTER_CLASS . ROGUE , CARD_RARITY . RARE , <EOL> battlecry = Battlecry ( Damage ( <NUM_LIT:2> ) , MinionSelector ( condition = Not ( IsDamaged ( ) ) , <EOL> players = EnemyPlayer ( ) ) ) ) <EOL> def create_minion ( self , player ) : <EOL> return Minion ( <NUM_LIT:4> , <NUM_LIT:3> ) <EOL> class Anubarak ( MinionCard ) : <EOL> def __init__ ( self ) : <EOL> super ( ) . __init__ ( "<STR_LIT>" , <NUM_LIT:9> , CHARACTER_CLASS . ROGUE , CARD_RARITY . LEGENDARY ) <EOL> def create_minion ( self , player ) : <EOL> return Minion ( <NUM_LIT:8> , <NUM_LIT:4> , deathrattle = [ Deathrattle ( Bounce ( ) , SelfSelector ( ) ) , <EOL> Deathrattle ( Summon ( Nerubian ( ) ) , PlayerSelector ( ) ) ] ) </s>
