Re: [CODE] Oedit limits

From: George (greerga@CIRCLEMUD.ORG)
Date: 04/13/98


On Mon, 13 Apr 1998, Chuck Reed wrote:

>I noticed weapons coming out with 100000d20 and found my builders could
>make these with normal olc.
[...]
>In affection 3's spot.  However, the max damage dice size you can enter is
>20.  This is kinda funky, anyone else ever have this problem?
[...]

I 'solved' that problem by limiting the dice size in the dice() function.
So if you go over the limit, the damage becomes 1. :)

A 1000000d20 weapon may cause your MUD to checkpoint crash unless you have
a fast machine.

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | 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