Re: [Code] Float & Int

From: Davies, Nathan (DaviesN@AECL.CA)
Date: 12/08/97


>
>Ok, sorry, last message I screwed up writing it...
>
>This is my section of code:
>...
>      if (IS_MAGIC_MOB(victim))
>        dam = dam * GET_MAG_MULT(weapon);

Same excuse as last...but 134 messages left to read...

try dam = (float)dam * GET_MAG_MULT(weapon)
and if IS_MAGIC_MOB just checks to see if mob has mob_magic, why not
just MOB_FLAGGED( victim, MOB_MAGIC )?

>Nathan Davies,


     +------------------------------------------------------------+
     | 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/08/00 PST