Re: [CODE] Unterminated character constant

From: Matt McLaughlin (mattm@SATYRS.ENGR.CSUFRESNO.EDU)
Date: 04/07/98


  }
  else {
    GET_HIT(vict) = GET_MAX_HIT(vict) - GET_MAX_HIT(vict) + 1;
    send_to_char("You fell a bit better now.\r\n", vict);
  }
}

--snip--

-=DemiGod=-



--------------------------------- SNIP ---------------------------

 Humm.. the idea is nice to the ACMD(do_aid) but i honestly dont get what
your trying to do here..   Now.. im sure we have all played alot of D&D
games.. and that the spell
  'aid'  such as in Eye of the Beholder..  maximizes the maxhit by say 10 pts
or 10% ..   opps.. i mean maximizes the hitpoints by 10 pts or 10% ..

  So i would think that you should have something like this
  else {
    GET_HIT(vict) += (int) GET_MAX_HIT(vict)/10;
    send_to_char("You fell a bit better now.\r\n", vict);
  }
}

-DarkLord


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST