Exemplo n.º 1
0
 public void Kill()
 {
     if (SceneInfo.Player == GameObject)
     {
         if (Category == CharacterCategory.CC_SPIRIT)
         {
             SceneInfo.Reset();
             Logger.Instance.Log("Reset player", MessageType.MT_STATISTICS);
         }
         else
         {
             SendMessage("ResetToDrainer");
             removeFromWorld();
         }
     }
     else
     {
         removeFromWorld();
     }
 }