summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-14 23:29:19 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-14 23:29:19 +0000
commit94002884ec345eb4e7d6680d6ce26c9b3b0a245a (patch)
tree2823754e89885a73fb83dd1c0ea07b76e88e3a6d /crawl-ref/source/spells4.cc
parent3b818666ded14091b0ad01215b66fe1fccf2a2d6 (diff)
downloadcrawl-ref-94002884ec345eb4e7d6680d6ce26c9b3b0a245a.tar.gz
crawl-ref-94002884ec345eb4e7d6680d6ce26c9b3b0a245a.zip
Vampires, yay! Credit mostly goes to Jarmo, though
there are a few traces of things I've changed (that I've included and then commented out). There's still lots of stuff to be added, but they should be playable right now. I notice that their vampiric bite attack needs to be made more probable. Feel free to comment on anything that looks weird, is plain wrong, or goes against the spirit of Crawl/Stonesoup. Positive feedback will be appreciated as well. :) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1870 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r--crawl-ref/source/spells4.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc
index 97aca63a03..15c749342e 100644
--- a/crawl-ref/source/spells4.cc
+++ b/crawl-ref/source/spells4.cc
@@ -99,6 +99,7 @@ std::string your_hand( bool plural )
break;
case TRAN_SERPENT_OF_HELL:
case TRAN_DRAGON:
+ case TRAN_BAT:
result = "foreclaw";
break;
case TRAN_BLADE_HANDS:
@@ -411,6 +412,7 @@ void cast_shatter(int pow)
case TRAN_DRAGON:
case TRAN_AIR:
case TRAN_SERPENT_OF_HELL:
+ case TRAN_BAT:
break;
case TRAN_STATUE: // full damage
@@ -2098,7 +2100,8 @@ void cast_fulsome_distillation( int powc )
switch (mons_corpse_effect( mitm[corpse].plus ))
{
case CE_CLEAN:
- pot_type = (power_up ? POT_CONFUSION : POT_WATER);
+ pot_type = (power_up ? POT_CONFUSION :
+ one_chance_in(30)? POT_BLOOD : POT_WATER);
break;
case CE_CONTAMINATED: