summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ability.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-04-20 18:54:04 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2014-05-07 18:23:24 -0600
commit1c445a7113cd6b4cc56a3f55919304664a9bc1f3 (patch)
treefd11c8123c5b692939a1cd6e8d3607df1e7fb154 /crawl-ref/source/ability.cc
parent6b0dd6438f66c6b71c5c7e864b67ed3342d3f1c0 (diff)
downloadcrawl-ref-1c445a7113cd6b4cc56a3f55919304664a9bc1f3.tar.gz
crawl-ref-1c445a7113cd6b4cc56a3f55919304664a9bc1f3.zip
Qazlal: Elemental Force.
Causes clouds arounds you to coalesce into elementals, with friendliness depending on the source of the cloud. Thanks to dpeg for suggesting this be an active ability.
Diffstat (limited to 'crawl-ref/source/ability.cc')
-rw-r--r--crawl-ref/source/ability.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/crawl-ref/source/ability.cc b/crawl-ref/source/ability.cc
index e62537b531..718116d42b 100644
--- a/crawl-ref/source/ability.cc
+++ b/crawl-ref/source/ability.cc
@@ -199,7 +199,7 @@ ability_type god_abilities[NUM_GODS][MAX_GOD_ABILITIES] =
{ ABIL_GOZAG_POTION_PETITION, ABIL_GOZAG_CALL_MERCHANT,
ABIL_GOZAG_BRIBE_BRANCH, ABIL_NON_ABILITY, ABIL_NON_ABILITY },
// Qazlal
- { ABIL_NON_ABILITY, ABIL_QAZLAL_UPHEAVAL, ABIL_NON_ABILITY,
+ { ABIL_NON_ABILITY, ABIL_QAZLAL_UPHEAVAL, ABIL_QAZLAL_ELEMENTAL_FORCE,
ABIL_NON_ABILITY, ABIL_NON_ABILITY },
};
@@ -423,6 +423,8 @@ static const ability_def Ability_List[] =
// Qazlal
{ ABIL_QAZLAL_UPHEAVAL, "Upheaval", 4, 0, 0, 3, 0, ABFLAG_NONE },
+ { ABIL_QAZLAL_ELEMENTAL_FORCE, "Elemental Force",
+ 6, 0, 0, 6, 0, ABFLAG_NONE },
{ ABIL_STOP_RECALL, "Stop Recall", 0, 0, 0, 0, 0, ABFLAG_NONE},
@@ -1161,6 +1163,7 @@ talent get_talent(ability_type ability, bool check_confused)
case ABIL_ZIN_IMPRISON:
case ABIL_LUGONU_BANISH:
case ABIL_CHEIBRIADOS_DISTORTION:
+ case ABIL_QAZLAL_ELEMENTAL_FORCE:
invoc = true;
failure = 60 - (you.piety / 20) - you.skill(SK_INVOCATIONS, 5);
break;
@@ -2944,6 +2947,10 @@ static bool _do_ability(const ability_def& abil)
}
break;
+ case ABIL_QAZLAL_ELEMENTAL_FORCE:
+ qazlal_elemental_force();
+ break;
+
case ABIL_RENOUNCE_RELIGION:
if (yesno("Really renounce your faith, foregoing its fabulous benefits?",
false, 'n')