Esempio n. 1
0
 protected override void OnActivate()
 {
     // this.skillshotAbility = this.abilityFactory.Value.GetAbility<pudge_meat_hook>();
     this.skillshotAbility = this.abilityFactory.Value.GetAbility <vengefulspirit_wave_of_terror>();
     UpdateManager.Subscribe(this.OnUpdate);
     Drawing.OnDraw += this.Drawing_OnDraw;
 }
Esempio n. 2
0
 public Ember([Import] IServiceContext context, [Import] ITargetSelectorManager selector, [Import] IPrediction prediction)
 {
     Me        = context.Owner as Hero;
     Selector  = selector;
     Remnant   = new PredictionAbility(Me, AbilityId.ember_spirit_fire_remnant, prediction);
     Fist      = Me.GetAbilityById(AbilityId.ember_spirit_sleight_of_fist);
     Activator = Me.GetAbilityById(AbilityId.ember_spirit_activate_fire_remnant);
     Chains    = Me.GetAbilityById(AbilityId.ember_spirit_searing_chains);
 }
Esempio n. 3
0
 public AbilityTime(PredictionAbility ability)
 {
     this.ability = ability;
     this.Handle  = ability.Handle;
     this.Name    = ability.Name;
 }