Ishar MUD

Help : Spell Heal

If you are new here, you may want to download one of many MUD clients, and see our getting started guide.

(such as "spell" or "MUD Basics")


   This is the most powerful of the heal spells.  Known to restore those
on the brink of death to near full health.

   Effect: 
      Heal: max(0, min(80 + 4d9, Max_Hp - Current_Hp - rand(1, 4)))

   Example:
      Target - Max HP 100 - Current HP 20

      Effect:
         Heal: max(0, min(80 + 20, 100 - 50 - 2))
               max(0, min(100, 48)) = 48

    amount = MAX_PTS (vict, HITP) - HPTS (vict) - number (1, 4);
    max = 80 + dice (4, 9);
    num = range (0, max, amount);

See Also: Spell Heal Minor, Spell Heal Serious, Spell Heal Critical, Spell Blind, Spell Cripple