the scarlet police have me at gun point

This commit is contained in:
Sylvia 2026-03-06 02:22:51 -08:00
parent b964c9b617
commit d6da52fd69
54 changed files with 674 additions and 55 deletions

View file

@ -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)