public override void Activate(PlayerHero hero) { base.Activate(hero); this.mage = (MageHero)hero; conflagrationPowerUp = mage.GetComponentInChildren <Mage_Conflagration>(); conflagrationPowerUp.onActivated += ActivateFireTrail; }
public override void Activate(PlayerHero hero) { base.Activate(hero); mage = (MageHero)hero; mage.OnMageTeleportIn += ActivateEffect; eruption.Init(hero.player, ERUPTION_FRAME); eruption.onFrameReached += HandleEruption; }
public override void Activate(PlayerHero hero) { base.Activate(hero); mage = (MageHero)hero; mage.OnMageTeleportIn += ActivateEffect; }
public override void Activate(PlayerHero hero) { base.Activate(hero); mage = (MageHero)hero; hero.player.OnEnemyDamaged += Charge; }