Example #1
0
 public override bool BlockEffect(IBot bot_)
 {
     Debug.Log("Damage Effect.");
     bot_.GetHealth.Damage(int.MaxValue);
     bot_.DeathEffect(0.8f);
     return(true);
 }
Example #2
0
 public override bool BlockEffect(IBot bot_)
 {
     bot_.DeathEffect(0.8f);
     if (BotManager.instance != null)
     {
         BotManager.instance.DecrementBotCount();
     }
     else
     {
         Debug.Log("Bot Manager is null!");
     }
     return(true);
 }