Esempio n. 1
0
 /// <summary>
 /// Fired after abilitie's cast time
 /// </summary>
 public virtual void OnCast(EnvironmentContext context)
 {
     foreach (var action in AdditionalHitActions)
     {
         action(context, null);
     }
 }
Esempio n. 2
0
        public override void OnHit(EnvironmentContext context, DmgDetails dmgDetails)
        {
            base.OnHit(context, dmgDetails);

            // Possible additional actions
            // 1. If bow -> apply debuff
            // 2. If спазмы + импульс -> apply debuff
            // 3. Restores energy
            // 4. If рана + крит -> apply debuff
            // 5. If симв. кинетика и импульс -> apply buff

            context.ScheduleApplyBuff(context.Source, new Buff(), null);
        }
Esempio n. 3
0
 /// <summary>
 /// Fired when ability hits target
 /// </summary>
 public virtual void OnHit(EnvironmentContext context, DmgDetails dmgDetails)
 {
     foreach (var action in AdditionalHitActions)
     {
         action(context, dmgDetails);
     }
 }