To be fair, I was playing with a modified version of the script that ignored the damage calculations altogether. Basically, I set Mafia's HP/MP restore to aggressive levels, and simply looked for $effect[Covered in Slime] to equal 5 before deciding whether to use a chamois or hot tub.
I'm out...