def __init__(self, attachedCard): description = 'When this shield is loaded gains consistency equals to the energy spend (max 5)' abilityArgs = [AbilityArgType.Card, AbilityArgType.OpposingPlayer] Ability.__init__(self, 'NightBaneAbility', description, 1, AbilityEffectTime.AfterLoadShield, AbilityEffectType.Reccuring, abilityArgs, attachedCard)
def __init__(self, attachedCard, howManyCards): description = 'When this enters play draw {0} card{1} from the top of your deck'.format( howManyCards, 's' if howManyCards > 1 else '') Ability.__init__(self, 'DrawCardOnPlay', description, 1, AbilityEffectTime.OnPlay, AbilityEffectType.Immediate, AbilityArgType.CurrentPlayer, attachedCard) self.howManyCards = howManyCards
def __init__(self, attachedCard, amount): description = 'Gain {0} health at the end of your turn'.format(amount) Ability.__init__(self, 'GainHealthAtEndOfTurn', description, 1, AbilityEffectTime.EndOfTurn, AbilityEffectType.Reccuring, AbilityArgType.CardOwner, attachedCard) self.amount = amount
def __init__(self, attachedCard, amount): description = 'Gain {0} energy at the start of your turn'.format( amount) Ability.__init__(self, 'GainEnergyAtStartOfRound', description, 2, AbilityEffectTime.StartOfTurn, AbilityEffectType.Reccuring, AbilityArgType.CardOwner, attachedCard) self.amount = amount
def __init__(self, attachedCard, amount): description = 'When your opponent loads a shield gain {0} energy'.format( amount) Ability.__init__(self, 'WhenLoadsShieldGainEnergy', description, 1, AbilityEffectTime.AfterLoadShield, AbilityEffectType.Reccuring, AbilityArgType.CardOwner, attachedCard) self.amount = amount
def __init__(self, attachedCard): description = 'You reflect half the attack value to your opponent to a minimum of 1' abilityArgs = [ AbilityArgType.CurrentPlayer, AbilityArgType.AttackValue ] Ability.__init__(self, 'IvoryAbility', description, 1, AbilityEffectTime.AfterShieldAttack, AbilityEffectType.Reccuring, abilityArgs, attachedCard)
def __init__(self, attachedCard): abilityArgs = [AbilityArgType.Table, AbilityArgType.TargetCard] Ability.__init__(self, 'IcariusAddAmountIfAbsorbing', '', 1, AbilityEffectTime.AfterShieldAttack, AbilityEffectType.Immediate, abilityArgs, attachedCard)
def __init__(self, attachedCard): description = 'Initiate an Attack of 3 energy. If the attack passed a loaded absorbing shield, unload it and add the energy amount to this attack.' Ability.__init__(self, 'IcariusInitiateAttackAbility', description, 1, AbilityEffectTime.OnPlay, AbilityEffectType.Immediate, AbilityArgType.Table, attachedCard)
def __init__(self, attachedCard, amount): description = 'Gain {0} health.'.format(amount) Ability.__init__(self, 'ImmediateGainHealth', description, 1, AbilityEffectTime.OnPlay, AbilityEffectType.Immediate, AbilityArgType.CardOwner, attachedCard) self.amount = amount