diff options
Diffstat (limited to 'Thronefall_1_0/GameCode/PerkCooldownModifyer.cs')
| -rw-r--r-- | Thronefall_1_0/GameCode/PerkCooldownModifyer.cs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/Thronefall_1_0/GameCode/PerkCooldownModifyer.cs b/Thronefall_1_0/GameCode/PerkCooldownModifyer.cs deleted file mode 100644 index e5b14f0..0000000 --- a/Thronefall_1_0/GameCode/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); - } -} |
