summaryrefslogtreecommitdiff
path: root/Thronefall_1_0/Decompile/PerkCooldownModifyer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Thronefall_1_0/Decompile/PerkCooldownModifyer.cs')
-rw-r--r--Thronefall_1_0/Decompile/PerkCooldownModifyer.cs20
1 files changed, 0 insertions, 20 deletions
diff --git a/Thronefall_1_0/Decompile/PerkCooldownModifyer.cs b/Thronefall_1_0/Decompile/PerkCooldownModifyer.cs
deleted file mode 100644
index e5b14f0..0000000
--- a/Thronefall_1_0/Decompile/PerkCooldownModifyer.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-using UnityEngine;
-
-public class PerkCooldownModifyer : MonoBehaviour
-{
- public Equippable requiredPerk;
-
- public float hpCooldownMultiplyer;
-
- public AutoAttack autoAttack;
-
- private void Start()
- {
- if (PerkManager.IsEquipped(requiredPerk))
- {
- autoAttack.cooldownDuration *= hpCooldownMultiplyer;
- autoAttack.recheckTargetInterval *= hpCooldownMultiplyer;
- }
- Object.Destroy(this);
- }
-}