diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-23 07:05:16 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-23 07:05:16 +0000 |
commit | ef298261c65de5bc5521ba1f7da487d49050c4b9 (patch) | |
tree | 36b23d7e8649798f2217b114a7459e6cde30a09d /crawl-ref | |
parent | 28f87f803235257111cea122fbfb58ac6c35dd5d (diff) | |
download | crawl-ref-ef298261c65de5bc5521ba1f7da487d49050c4b9.tar.gz crawl-ref-ef298261c65de5bc5521ba1f7da487d49050c4b9.zip |
After more thought, remove Beogh's electric weapon branding, as it
doesn't really fit, and it's harder to balance.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4523 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/religion.cc | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index 742b35722e..7f0718d881 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -1044,33 +1044,6 @@ static bool _beogh_blessing_priesthood(monsters* mon) return false; } -static bool _beogh_blessing_elec_wpn(monsters *mon) -{ - // Pick a monster's weapon. - const int weapon = mon->inv[MSLOT_WEAPON]; - - if (weapon == NON_ITEM) - return false; - - item_def& wpn(mitm[weapon]); - - const int wpn_brand = get_weapon_brand(wpn); - - // Override certain brands. - if (is_artefact(wpn) - || (wpn_brand != SPWPN_NORMAL && wpn_brand != SPWPN_ORC_SLAYING)) - { - return false; - } - - // And make it electric. - set_equip_desc(wpn, ISFLAG_GLOWING); - set_item_ego_type(wpn, OBJ_WEAPONS, SPWPN_ELECTROCUTION); - wpn.colour = LIGHTCYAN; - - return true; -} - // Bless the follower indicated in follower, if any. If there isn't // one, bless a random follower within sight of the player, if any. bool bless_follower(monsters* follower, @@ -1168,14 +1141,6 @@ bool bless_follower(monsters* follower, result = "priesthood"; goto blessing_done; } - - // Brand a monster's weapon with electrocution, if - // possible. - if (one_chance_in(5) && _beogh_blessing_elec_wpn(mon)) - { - result = "electric attack power"; - goto blessing_done; - } break; default: |