summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abl-show.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-14 08:55:24 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-14 08:55:24 +0000
commit6dba2ac32df50d8a0d3628fbc65fb81825a96fdd (patch)
treec5db7daf782a95707f90fd4351e85c3dfa070b49 /crawl-ref/source/abl-show.cc
parent60f850418fc4a37a5f2eccec19a83065fa7769e5 (diff)
downloadcrawl-ref-6dba2ac32df50d8a0d3628fbc65fb81825a96fdd.tar.gz
crawl-ref-6dba2ac32df50d8a0d3628fbc65fb81825a96fdd.zip
Implemented Beogh, god of Orcs.
+ added information about random choice to newgame git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1585 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r--crawl-ref/source/abl-show.cc17
1 files changed, 16 insertions, 1 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc
index 6541b39445..48365e448b 100644
--- a/crawl-ref/source/abl-show.cc
+++ b/crawl-ref/source/abl-show.cc
@@ -136,7 +136,11 @@ ability_type god_abilities[MAX_NUM_GODS][MAX_GOD_ABILITIES] =
// Lugonu
{ ABIL_LUGONU_ABYSS_EXIT, ABIL_LUGONU_BEND_SPACE,
ABIL_LUGONU_SUMMON_DEMONS, ABIL_NON_ABILITY,
- ABIL_LUGONU_ABYSS_ENTER }
+ ABIL_LUGONU_ABYSS_ENTER },
+ // Beogh
+ { ABIL_NON_ABILITY, ABIL_BEOGH_SMITING,
+ ABIL_NON_ABILITY, ABIL_NON_ABILITY,
+ ABIL_NON_ABILITY }
};
// The description screen was way out of date with the actual costs.
@@ -274,6 +278,9 @@ static const ability_def Ability_List[] =
{ ABIL_NEMELEX_PEEK, "Deck Peek", 3, 0, 0, 1, ABFLAG_INSTANT },
{ ABIL_NEMELEX_STACK_DECK, "Stack Deck", 5, 0, 150, 6, ABFLAG_NONE },
+ // Beogh
+ { ABIL_BEOGH_SMITING, "Smiting", 3, 0, 50, 2, ABFLAG_NONE },
+
// These six are unused "evil" god abilities:
{ ABIL_CHARM_SNAKE, "Charm Snake", 6, 0, 200, 5, ABFLAG_NONE },
{ ABIL_TRAN_SERPENT_OF_HELL, "Turn into Demonic Serpent", 16, 0, 600, 8, ABFLAG_NONE },
@@ -625,6 +632,7 @@ static talent get_talent(ability_type ability, bool check_confused)
case ABIL_ZIN_HEALING:
case ABIL_TSO_SMITING:
+ case ABIL_BEOGH_SMITING:
case ABIL_OKAWARU_HEALING:
case ABIL_MAKHLEB_MINOR_DESTRUCTION:
case ABIL_SIF_MUNA_FORGET_SPELL:
@@ -1568,6 +1576,13 @@ static bool do_ability(const ability_def& abil)
return false;
break;
+ case ABIL_BEOGH_SMITING:
+ if (your_spells( SPELL_SMITING, (2 + skill_bump(SK_INVOCATIONS)) * 6,
+ false ) == SPRET_ABORT)
+ return (false);
+ exercise( SK_INVOCATIONS, (coinflip()? 3 : 2) );
+ break;
+
//jmf: intended as invocations from evil god(s):
case ABIL_CHARM_SNAKE:
cast_snake_charm( you.experience_level * 2