OSDN Git Service

TRC_CALL_UNDEAD will select as a random curse
authordis- <dis-@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 11 Jun 2013 13:27:38 +0000 (13:27 +0000)
committerdis- <dis-@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 11 Jun 2013 13:27:38 +0000 (13:27 +0000)
src/defines.h

index 947c03f..d365f06 100644 (file)
 #define TRG_POWERFUL            0x00020000L     /* Item has good value even if Cursed */
 
 
-#define MAX_CURSE 17
+#define MAX_CURSE 18
 
 #define TRC_CURSED              0x00000001L
 #define TRC_HEAVY_CURSE         0x00000002L
 
 #define TRC_HEAVY_MASK   \
        (TRC_TY_CURSE | TRC_AGGRAVATE | TRC_DRAIN_EXP | TRC_ADD_H_CURSE | \
-        TRC_CALL_DEMON | TRC_CALL_DRAGON | TRC_TELEPORT)
+        TRC_CALL_DEMON | TRC_CALL_DRAGON | TRC_CALL_UNDEAD | TRC_TELEPORT)
 
 #define TRC_P_FLAG_MASK  \
        (TRC_TELEPORT_SELF | TRC_CHAINSWORD | \
         TRC_TY_CURSE | TRC_DRAIN_EXP | TRC_ADD_L_CURSE | TRC_ADD_H_CURSE | \
         TRC_CALL_ANIMAL | TRC_CALL_DEMON | TRC_CALL_DRAGON | TRC_COWARDICE | \
-        TRC_TELEPORT | TRC_DRAIN_HP | TRC_DRAIN_MANA)
+        TRC_TELEPORT | TRC_DRAIN_HP | TRC_DRAIN_MANA | TRC_CALL_UNDEAD)