예제 #1
0
    public void ApplyPlayerStats()
    {
        DataController dataController = DataController.GetInstance();

        if (dataController != null)
        {
            dataController.initActorFromType(this, 4);
        }

        UpgradeEffectManager.ApplyPermanentUpgrades(this);
    }
예제 #2
0
    public void ApplyFriendlyStats()
    {
        DataController dataController = DataController.GetInstance();

        if (dataController != null)
        {
            dataController.initActorFromType(this, 3);
        }

        //Just a hack so just infected go same speed as friendlies. too late to do properly
        MovementSpeed = 1;

        UpgradeEffectManager.ApplyPermanentUpgrades(this);
    }