public void HeroEndTurnFunctions(TurnInfo thisPlayer)
    {
        heroShip = gameObject.GetComponent <HeroShip> ();
        heroShip.ShipAbilities(thisPlayer);

        if (thisPlayer.isPlayer == false)
        {
            AIHeroFunctions();
        }

        if (thisPlayer == MasterScript.playerTurnScript)
        {
            if (isInvading == true)
            {
                MasterScript.systemInvasion.hero = this;

                if (currentHealth < 0f)
                {
                    currentHealth = 0f;
                }
                if (currentHealth > maxHealth)
                {
                    currentHealth = maxHealth;
                }
            }

            if (isInvading == false && currentHealth != maxHealth)
            {
                currentHealth += maxHealth * 0.02f;

                if (currentHealth > maxHealth)
                {
                    currentHealth = maxHealth;
                }
            }
        }
    }