the scarlet police have me at gun point
This commit is contained in:
parent
b964c9b617
commit
d6da52fd69
54 changed files with 674 additions and 55 deletions
|
|
@ -10,13 +10,23 @@ public class PlayerAbility : MonoBehaviour
|
|||
public Marisa thisPlayer;
|
||||
[Header("Cooldown")]
|
||||
public bool canCooldown = true;
|
||||
public float baseCooldown;
|
||||
public float cooldown;
|
||||
public float currentCooldown;
|
||||
[Header("Stats")]
|
||||
[Header("Stats")]
|
||||
public float basePower;
|
||||
public float power;
|
||||
public float baseProjectileCount;
|
||||
public float projectileCount;
|
||||
public Dictionary<AbilityUpgrade, int> attachedUpgrades = new();
|
||||
|
||||
|
||||
private void Start()
|
||||
{
|
||||
cooldown = baseCooldown;
|
||||
power = basePower;
|
||||
projectileCount = baseProjectileCount;
|
||||
}
|
||||
|
||||
public void TryAbility()
|
||||
{
|
||||
if (currentCooldown <= 0 && canCooldown)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue