Re: enchant spell bugfix

From: George Greer (greerga@circlemud.org)
Date: 04/22/01


On Sun, 22 Apr 2001, Kras Kresh wrote:

>i've been noticing for a really long time the enchant spell bug finally
>I've decided to fix it - I mean I finally remembered to fix it when you
>enchant a worn obj your hitroll and damroll don't change so heres the fix

Impossible in any recent stock CircleMUD:

  spello(SPELL_ENCHANT_WEAPON, "enchant weapon", 150, 100, 10,
        POS_STANDING, TAR_OBJ_INV, FALSE, MAG_MANUAL, NULL);

Fixed 9/21/1998 (for bpl15):

-- gg - spells.c: spell_enchant_weapon(): It is a bad thing to enchant a
        weapon that you are currently wielding. Since I think it makes
        more sense to just not be able to do that than jump through hoops
        with equipping, I've remove the TAR_OBJ_EQUIP flag from it.

--
George Greer
greerga@circlemud.org

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/05/01 PST