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