View Single Post
Steev42
Member
 
Join Date: Nov 2010
Posts: 70

Old June 9th, 2012, 10:55 AM
Replying to my own last question, since I figured it out, for posterity.
Code:
~ find the cure moderate wounds spell
var cmw as string
cmw = "Cure Moderate Wounds"
foreach pick in hero from BaseSpell
  var spellname as string
  spellname = eachpick.field[shortname].text
   validif (compare(cmw,spellname) = 0)
nexteach
Steev42 is offline   #2 Reply With Quote