>fight_prog 20~ if rand(25) cast 'misdirection' else if rand(33) cast 'terrain' else if rand(50) cast 'sunburst' else cast 'dispel magic' endif endif endif ~ |