Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/i/n/incantus-HEAD/src/engine/CardRoles.py   incantus(Download)
from Planeswalker import PlaneswalkerType
from Ability.Counters import Counter, PowerToughnessCounter, PowerToughnessModifier, PowerToughnessSetter, PowerToughnessSwitcher, PowerSetter, ToughnessSetter
from Ability.CastingAbility import CastPermanentSpell, CastAuraSpell
from Ability.LandAbility import basic_mana_ability
from Ability.EffectsUtilities import combine
 
        if self.subtypes == Aura:
            self.abilities.add(CastAuraSpell(), attach_on_enter())
        else: self.abilities.add(CastPermanentSpell())
        self._play_spell = self.abilities.cast()