Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CF: death arrow fix



Hi,

Death attacktype of arrows and bolts (e.g. arrow of Assassinating
Dragons) didn't work because arrows didn't have a level.  This patch is
already in the CVS tree.

-- 
Jan
*** orig/crossfire-0.95.5-patch9/server/player.c	Thu Apr 13 16:11:56 2000
--- crossfire-0.95.5/server/player.c	Mon Apr 17 13:58:55 2000
***************
*** 958,963 ****
--- 958,964 ----
    arrow->stats.wc = 20 - bow->magic - arrow->magic - SK_level(op) -
      dex_bonus[op->stats.Dex] - thaco_bonus[op->stats.Str] - arrow->stats.wc -
      bow->stats.wc;
+   arrow->level = SK_level (op);
  
    arrow->map = op->map;
    SET_FLAG(arrow, FLAG_NO_PICK);