As far as I know (AFAIK) here's the deal with the Apple and UWA(IBM) versions of the Haman and Mahaman spells:...
The effects of this spell are random, but usually helpful. The
caster must be 13th level or higher, and loses 1 level of experience after casting it.
"Haman" has 5 possible effects:
1.teleport monsters (win the battle)
2.cure party (restores all HP of everybody except those that are dead or in ashes)
3.silence all monsters (this works 100% and never fails)
4.cure all conditions (poisoned, paralysed, stoned, slept but doesn't resurrect the dead)
5.enhance magic power which turns the monsters non-resistant against magic
"Mahaman" is like Haman above plus 2 new possible effects:
6.protect (party AC-10)
7.resurrect dead (resurrects the dead, AND heals the alive ones
completely)
...
Snafaru