Пример #1
0
    public override void ExtraSkill()
    {
        base.ExtraSkill();

        if (currentTarget == null)
        {
            return;
        }

        currentTarget.Hack();
    }
Пример #2
0
 void ApplyBreakpoint(Hackable target)
 {
     if (breakpoints.Contains(target))
     {
         target.Unhack();
         breakpoints.Remove(target);
     }
     else
     {
         if (breakpoints.Count == numBreakpoints)
         {
             breakpoints.First.Value.Unhack();
             breakpoints.RemoveFirst();
         }
         breakpoints.AddLast(target);
         target.Hack();
     }
 }