you really gotta calm down, marisa...
This commit is contained in:
parent
13bb58ea03
commit
b9fb490dce
68 changed files with 990 additions and 44 deletions
12
Assets/Scripts/Abilities/Upgrades/AttackSpeedUpgrade.cs
Normal file
12
Assets/Scripts/Abilities/Upgrades/AttackSpeedUpgrade.cs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
using UnityEngine;
|
||||
|
||||
public class AttackSpeedUpgrade : AbilityUpgrade
|
||||
{
|
||||
[SerializeField] private float speedUpgradeAmount;
|
||||
|
||||
public override void ApplyUpgrade()
|
||||
{
|
||||
base.ApplyUpgrade();
|
||||
thisPlayerAbility.cooldown *= speedUpgradeAmount;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue