Skip to content

SpellManager » Classes » Spell

Namespace: Mayo.Manager.Spells


string Name
int ID
int Rank
int Cost

Returns the power needed to cast this spell.

int MinRange

Returns the minimum range to the target that must be maintained.

int MaxRange

Returns the maximum range to the target that must be maintained.

Func<bool> HasCooldown
Example
var Spell = GC.SM.GetSpell("Frostbolt");
if (Spell != null)
    Log.Write($"{Spell.Name} | Cooldown: {Spell.HasCooldown()}");