--- title: magic - test layout: api ---
# magicfun magic(spell: String): Intspell - The text of spell, often distributed on scrolls
**Return**
Spell ID for future casts
fun magic(spell: Int): Intspell - Spell ID of previously casted spell
**Return**
Spell ID for future casts