Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
Stats Buff implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Amatsugu committed May 30, 2020
1 parent 2aaf853 commit 279d3e5
Show file tree
Hide file tree
Showing 8 changed files with 68 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_DefaultGroup: 2c06710c9a117744e8ba504382cb719d
m_BuildRemoteCatalog: 0
m_BundleLocalCatalog: 0
m_DisableCatalogUpdateOnStart: 0
m_UniqueBundleIds: 0
m_RemoteCatalogBuildPath:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,15 @@ MonoBehaviour:
adjacencyEffects: []
buildingsToUnlock:
- id: 3
effectRange: 4
StatsBuffs:
structureRange: 0
unitRange: 0
structureAttack: 0
unitAttack: 0
structureHealth: 0
unitHealth: 0
buildSpeedMulti: 0
buildCostMulti: 0
consumptionMulti: 0
productionMulti: 1
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,15 @@ MonoBehaviour:
adjacencyEffects: []
buildingsToUnlock:
- id: 33
effectRange: 5
StatsBuffs:
structureRange: 0
unitRange: 0
structureAttack: 0
unitAttack: 0
structureHealth: 50
unitHealth: 0
buildSpeedMulti: 0.5
buildCostMulti: -0.5
consumptionMulti: 0
productionMulti: 0
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,15 @@ MonoBehaviour:
- id: 25
- id: 23
- id: 27
effectRange: 5
StatsBuffs:
structureRange: 0
unitRange: 0
structureAttack: 0
unitAttack: 0
structureHealth: 0
unitHealth: 0
buildSpeedMulti: 0
buildCostMulti: 0
consumptionMulti: -0.25
productionMulti: 0
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,15 @@ MonoBehaviour:
buildingsToUnlock:
- id: 15
- id: 16
effectRange: 4
StatsBuffs:
structureRange: 0
unitRange: 0
structureAttack: 0.2
unitAttack: 0.5
structureHealth: 0
unitHealth: 50
buildSpeedMulti: 0
buildCostMulti: 0
consumptionMulti: 0
productionMulti: 0
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,15 @@ MonoBehaviour:
buildingsToUnlock:
- id: 2
- id: 1
effectRange: 4
StatsBuffs:
structureRange: 5
unitRange: 5
structureAttack: 0
unitAttack: 0
structureHealth: 0
unitHealth: 0
buildSpeedMulti: 0
buildCostMulti: 0
consumptionMulti: 0
productionMulti: 0
3 changes: 2 additions & 1 deletion Assets/Scripts/Game Logic/UI/BaseNameWindowUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ private void Awake()
GameRegistry.INST.baseNameUI = this;
panel.OnShow += () =>
{
text.text = $"{SteamFriends.GetPersonaName()}'s Base";
if(SteamManager.Initialized)
text.text = $"{SteamFriends.GetPersonaName()}'s Base";
EventManager.InvokeEvent("nameWindowOpen");
};
panel.OnHide += () =>
Expand Down
5 changes: 5 additions & 0 deletions ProjectSettings/Packages/com.unity.probuilder/Settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@
"key": "editor.showSceneInfo",
"value": "{\"m_Value\":false}"
},
{
"type": "System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
"key": "editor.stripProBuilderScriptsOnBuild",
"value": "{\"m_Value\":true}"
},
{
"type": "UnityEngine.ProBuilder.SelectionModifierBehavior, Unity.ProBuilder, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
"key": "editor.rectSelectModifier",
Expand Down

0 comments on commit 279d3e5

Please sign in to comment.