public void ApplyPlayerStats() { DataController dataController = DataController.GetInstance(); if (dataController != null) { dataController.initActorFromType(this, 4); } UpgradeEffectManager.ApplyPermanentUpgrades(this); }
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); }