# magik act 'Physical attacks':gt'boxing' if spellMana['fog'] = 0: gs 'spellList' end $SpellListStr = "

Choose a Spell to cast.


" i = 0 numSpellsKnown = 0 :CombatSpellLoop $ThisSpellName = $combatSpells[i] if i < arrsize('$combatSpells'): if spellKnown[$ThisSpellName] = 1: $SpellListStr = $SpellListStr + " " numSpellsKnown += 1 end i += 1 jump 'CombatSpellLoop' end $SpellListStr = $SpellListStr + "
Spell Mana Description
>'& xgt 'fight','sta' & act 'Physical attacks':gt'boxing' & act 'Magic attacks':gt'magik'""><<$spellName[$ThisSpellName]>> <> <<$spellDesc[$ThisSpellName]>>
" if numSpellsKnown = 0: "No combat spells known." else *pl func('cleanHTML',$SpellListStr) end killvar 'i' killvar 'numSpellsKnown' killvar '$ThisSpellName' killvar '$SpellListStr' --- magik ---------------------------------