diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-12 06:03:59 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-12 06:03:59 +0000 |
commit | 9b362245046e8d9b4f32c22b5fc142b9933703f9 (patch) | |
tree | f48225a6ee1d5c3f6e722db8444f259166cf8afc /crawl-ref/source/spells4.cc | |
parent | a2f295f3b8c273dc74150dae2e2949dd620f50d7 (diff) | |
download | crawl-ref-9b362245046e8d9b4f32c22b5fc142b9933703f9.tar.gz crawl-ref-9b362245046e8d9b4f32c22b5fc142b9933703f9.zip |
Remove unused god abilities.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9421 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r-- | crawl-ref/source/spells4.cc | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc index 4d1144138b..aa0896c0b1 100644 --- a/crawl-ref/source/spells4.cc +++ b/crawl-ref/source/spells4.cc @@ -1343,30 +1343,6 @@ void cast_fulsome_distillation( int powc ) mpr( "Unfortunately, you can't carry it right now!" ); } -static int _snake_charm_monsters(coord_def where, int pow, int, actor *) -{ - monsters* monster = monster_at(where); - - if (monster == NULL - || one_chance_in(4) - || mons_friendly(monster) - || mons_char(monster->type) != 'S' - || check_mons_resist_magic(monster, pow)) - { - return 0; - } - - monster->attitude = ATT_FRIENDLY; - mprf("%s sways back and forth.", monster->name(DESC_CAP_THE).c_str()); - - return 1; -} - -void cast_snake_charm(int pow) -{ - apply_one_neighbouring_square(_snake_charm_monsters, pow); -} - bool cast_fragmentation(int pow, const dist& spd) { int debris = 0; |