pub(crate) fn spell_cooldown( def: &BuilderSpellDef, ctx: &mut BuilderToRuntimeCtx<'_>, ) -> SpellCooldown