Skip to main content

SpellBook

SpellBook class.

Functions​

GetSpellEntry​

SpellBook:GetSpellEntry(
  slot: SpellSlot - integer0-64
) → SpellBookEntry

ArgumentTypeDescription
slotSpellSlot - integer0-64SpellSlot enum.

Returns SpellBookEntry.


PrintSpells​

SpellBook:PrintSpells(
  slot: SpellSlot - integer0-64
) → void

ArgumentTypeDescription
slotSpellSlot - integer0-64SpellSlot enum.

Print spell range,cost and missile speed on console.


LevelSpell​

SpellBook:LevelSpell(
  slot: SpellSlot
) → void

ArgumentTypeDescription
slotSpellSlotGiven slot.

Level up a spell in given SpellSlot.


EvolveSpell​

SpellBook:EvolveSpell(
  slot: SpellSlot
) → void

ArgumentTypeDescription
slotSpellSlotGiven slot.

Evolve a spell in given SpellSlot.