ensure Requirements
fun ensureRequirements(player: MacrocosmPlayer, ability: Identifier, silent: Boolean = false): Boolean(source)
Ensures that the provided player has requirements to use the ability.
Return
True if all checks passed, false otherwise
Parameters
player
Player against which the checks will be done
ability
ID of the ability. This is stored internally to ensure that the cooldown's time elapsed
silent
Whether to loudly send player an action bar message that they do not have enough mana/health