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

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

src/i/n/incantus-HEAD/src/engine/CardRoles.py   incantus(Download)
from GameEvent import DealsDamageToEvent, CardTapped, CardUntapped, PermanentDestroyedEvent, AttachedEvent, UnAttachedEvent, AttackerDeclaredEvent, AttackerBlockedEvent, BlockerDeclaredEvent, NonCardLeavingZone, TargetedByEvent, PowerToughnessModifiedEvent, NewTurnEvent, TimestepEvent, CounterAddedEvent, CounterRemovedEvent, AttackerClearedEvent, BlockerClearedEvent, CreatureInCombatEvent, CreatureCombatClearedEvent, LandPlayedEvent
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
    def add_counters(self, counter_type, number=1):
        if isinstance(counter_type, str): counter_type = Counter(counter_type)
        for counter in [counter_type.copy() for i in range(number)]:
            self._counters.append(counter)
            self.send(CounterAddedEvent(), counter=counter)

src/i/n/incantus-HEAD/src/engine/Planeswalker.py   incantus(Download)
from stacked_function import replace
from abilities import stacked_abilities
from Ability.Counters import Counter
from Ability.Limit import SorceryLimit, CountLimit
from GameEvent import DealsDamageToEvent