summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/enum.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-04-03 20:21:50 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-04-03 20:21:50 +0000
commit02a23f0ae54f800e42a987a6080b2d37b87aebc5 (patch)
tree31c4508b80a3eb20184dbea48316f4977bc5266b /crawl-ref/source/enum.h
parent2d1dc73ba81562198242670c328146d3f13695c6 (diff)
downloadcrawl-ref-02a23f0ae54f800e42a987a6080b2d37b87aebc5.tar.gz
crawl-ref-02a23f0ae54f800e42a987a6080b2d37b87aebc5.zip
Implement a hack to differentiate between Ely's self healing and healing
others. I've added a new targetting mode TARG_NOT_SELF that basically just forces the autotargetting to skip the player in favour of the previous target or, failing that, the nearest monster (no matter whether friendly, hostile or neutral). Both types of ability crop up at the same piety point, and the ability letters are changed accordingly (which is likely to wreak havoc on those relying on their finger memory, but makes more sense and is easier to remember in the long run). I haven't changed/added the ability descriptions. If someone could do that, please? git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9575 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/enum.h')
-rw-r--r--crawl-ref/source/enum.h23
1 files changed, 13 insertions, 10 deletions
diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h
index b20e911d3f..dc1e511346 100644
--- a/crawl-ref/source/enum.h
+++ b/crawl-ref/source/enum.h
@@ -83,27 +83,29 @@ enum ability_type
ABIL_TROG_REGENERATION,
ABIL_TROG_BROTHERS_IN_ARMS,
ABIL_ELYVILON_DESTROY_WEAPONS = 219,
- ABIL_ELYVILON_LESSER_HEALING = 220, // 220
+ ABIL_ELYVILON_LESSER_HEALING_SELF = 220, // 220
+ ABIL_ELYVILON_LESSER_HEALING_OTHERS,
ABIL_ELYVILON_PURIFICATION,
- ABIL_ELYVILON_GREATER_HEALING,
- ABIL_ELYVILON_RESTORATION,
+ ABIL_ELYVILON_GREATER_HEALING_SELF,
+ ABIL_ELYVILON_GREATER_HEALING_OTHERS,
+ ABIL_ELYVILON_RESTORATION, // 225
ABIL_ELYVILON_DIVINE_VIGOUR,
- ABIL_LUGONU_ABYSS_EXIT, // 225
+ ABIL_LUGONU_ABYSS_EXIT,
ABIL_LUGONU_BEND_SPACE,
ABIL_LUGONU_BANISH,
- ABIL_LUGONU_CORRUPT,
+ ABIL_LUGONU_CORRUPT, // 230
ABIL_LUGONU_ABYSS_ENTER,
- ABIL_NEMELEX_DRAW_ONE, // 230
+ ABIL_NEMELEX_DRAW_ONE,
ABIL_NEMELEX_PEEK_TWO,
ABIL_NEMELEX_TRIPLE_DRAW,
- ABIL_NEMELEX_MARK_FOUR,
+ ABIL_NEMELEX_MARK_FOUR, // 235
ABIL_NEMELEX_STACK_FIVE,
- ABIL_BEOGH_SMITING, // 235
+ ABIL_BEOGH_SMITING,
ABIL_BEOGH_RECALL_ORCISH_FOLLOWERS,
- ABIL_TRAN_BAT,
+ ABIL_TRAN_BAT = 240,
ABIL_HARM_PROTECTION,
- ABIL_HARM_PROTECTION_II, // 239
+ ABIL_HARM_PROTECTION_II, // 242
ABIL_RENOUNCE_RELIGION = 250 // 250
};
@@ -1584,6 +1586,7 @@ enum targ_mode_type
TARG_ANY,
TARG_ENEMY,
TARG_FRIEND,
+ TARG_NOT_SELF,
TARG_NUM_MODES
};