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