enchant spell bugfix

From: Kras Kresh (kras_kresh@hotmail.com)
Date: 04/21/01


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

in ASPELL(spell_enchant_weapon)

after obj->affected[1].modifier = 1 + (level >= 20);

insert

  if (obj->worn_by) {
    GET_HITROLL(ch) += obj->affected[0].modifier;
    GET_DAMROLL(ch) += obj->affected[1].modifier;
  }

thats all
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

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