public static float TimeLeftOnCooldown(Player p, AbilityType ability) { if (!PlayerHasSubclass(p)) { return(0); } return(TrackingAndMethods.TimeLeftOnCooldown(p, ability, TrackingAndMethods.PlayersWithSubclasses[p], Time.time)); }