summaryrefslogtreecommitdiff
path: root/Thronefall_v1.0/Decompile/UpgradeMagicArmor.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Thronefall_v1.0/Decompile/UpgradeMagicArmor.cs')
-rw-r--r--Thronefall_v1.0/Decompile/UpgradeMagicArmor.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/Thronefall_v1.0/Decompile/UpgradeMagicArmor.cs b/Thronefall_v1.0/Decompile/UpgradeMagicArmor.cs
new file mode 100644
index 0000000..4fb88f5
--- /dev/null
+++ b/Thronefall_v1.0/Decompile/UpgradeMagicArmor.cs
@@ -0,0 +1,18 @@
+using UnityEngine;
+
+public class UpgradeMagicArmor : MonoBehaviour
+{
+ public static UpgradeMagicArmor instance;
+
+ public float damageMultiplyer = 1f;
+
+ private void Awake()
+ {
+ instance = this;
+ }
+
+ private void OnEnable()
+ {
+ PlayerUpgradeManager.instance.magicArmor = true;
+ }
+}