Beispiel #1
0
 private bool CanKill(Obj_AI_Base target, bool includePassiveDamage = true)
 {
     if (CustomCalculation)
     {
         var targetBuffCountKs = target.GetBuffCountFixed("twitchdeadlyvenom");
         if (targetBuffCountKs == 0)
         {
             return(false);
         }
         return((includePassiveDamage ? GetPassiveAndActivateDamage(target, targetBuffCountKs) : GetActivateDamage(target, targetBuffCountKs)) > target.Health);
     }
     return(IsKillable(target));
 }