def __init__(self, **kwargs): super().__init__(**kwargs) self.CD = cooldown.Cooldown( CHAMP=self.CHAMP, OWNER=self, name=['cd-refresh', str(self.CHAMP) + '.W'], length=7000) self.duration = time_.Timer( name=['buff-duration', str(self.CHAMP) + '.W'], length=5500, method=self.buff_active, args=[False]) self._passive_mdmg = dmgheal.MDmg(CHAMP=self.CHAMP, OWNER=self, target=None, amount=None, tags={'ability'}) self._active_mdmg = dmgheal.MDmg(CHAMP=self.CHAMP, OWNER=self, target=None, amount=None, tags={'ability'}) self._managain = dmgheal.Managain(CHAMP=self.CHAMP, OWNER=self, target=self.CHAMP, amount=None) if self.lvl > 0: # dont like this much self.CHAMP.AUTO.on_land.append(self.passive_mdmg.apply)
def __init__(self, **kwargs): super().__init__(**kwargs) self._CD = cooldown.Cooldown( CHAMP=self.CHAMP, OWNER=self, name=['cd-refresh', str(self.CHAMP) + '.Q'], length=None) self._pdmg = dmgheal.PDmg(CHAMP=self.CHAMP, OWNER=self, target=None, amount=None, tags={'aoe', 'ability'})
def __init__(self, **kwargs): super().__init__(**kwargs) self.width = 300 + 50 * self.lvlups # property self._CD = cooldown.Cooldown( CHAMP=self.CHAMP, OWNER=self, name=['cd-refresh', str(self.CHAMP) + '.W'], length=None) self.duration = time_.Timer( name=['windwall-duration', str(self.CHAMP) + '.W'], length=4000, method=self.stop)
def __init__(self, **kwargs): super().__init__(**kwargs) self.cost = 70 + 5 * self.lvlups # make cost a property? self.CD = cooldown.Cooldown(CHAMP = self.CHAMP, OWNER = self, name = ['cd-refresh', str(self.CHAMP) + '.Q'], length = 9000) self._mdmg = MDmg(CHAMP = self.CHAMP, OWNER = self, amount = None, tags = {'ability'}) self._shield = shield.MShield(CHAMP = self.CHAMP, OWNER = self, target = self.CHAMP, amount = None, length = 1500)
def __init__(self, **kwargs): super().__init__(**kwargs) self.STACKER = stack.DurMax(CHAMP=self.CHAMP, OWNER=self, MAX=4, length=15000) self._CD = cooldown.Cooldown( CHAMP=self.CHAMP, OWNER=self, name=['cd-refresh', str(self.CHAMP) + '.R'], length=None) self._mdmg = dmgheal.MDmg(CHAMP=self.CHAMP, OWNER=self, target=None, amount=None, tags={'ability', 'aoe'}) self.cost = 50 * 2**self.STACKER.counter
def __init__(self, **kwargs): super().__init__(**kwargs) self.on_land = [] self.castimer = time_.Timer( name=['auto-cast', str(self.CHAMP) + '.AUTO'], length=self.cast_length, method=self.castimer_method) self.CD = cooldown.Cooldown( CHAMP=self.CHAMP, OWNER=self, name=['cd-refresh', str(self.CHAMP) + '.AUTO'], length=self.cd_length) self._pdmg = dmgheal.PDmg(CHAMP=self.CHAMP, OWNER=self, amount=None, tags={'auto'})
def __init__(self, **kwargs): super().__init__(**kwargs) self.cost = 60 + 5 * self.lvlups self.castable = False #TODO costs mana and 6 STACKs # make cost a property? self.CD = cooldown.Cooldown( CHAMP=self.CHAMP, OWNER=self, name=['cd-refresh', str(self.CHAMP) + '.E'], length=5000) self.STACKER = CoX(CHAMP=self.CHAMP, OWNER=self, MAX=6, on_max=[self.setCastable, [True]]) self._mdmg = MDmg(CHAMP=self.CHAMP, OWNER=self, target=None, amount=None, tags={'ability', 'aoe'}) ###### subscribe STACKER to all ABILITY_USE toSubscribe.append([self.STACKER, getAllChampAbilityUseComponents])