summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acquire.cc
diff options
context:
space:
mode:
authorDracoOmega <draco_omega@live.com>2014-03-22 01:33:01 -0230
committerDracoOmega <draco_omega@live.com>2014-03-22 01:41:43 -0230
commit34366dd22ecd38c1c5ae207e4f57bb1da09f6fbf (patch)
treef730b4daa5d7f00febedc16e9517788f7fee0862 /crawl-ref/source/acquire.cc
parent1040232743a18b2399901ff3cc3799e53ea2104d (diff)
downloadcrawl-ref-34366dd22ecd38c1c5ae207e4f57bb1da09f6fbf.tar.gz
crawl-ref-34366dd22ecd38c1c5ae207e4f57bb1da09f6fbf.zip
Make wands acquirement disfavor wands of hasting and teleport for formicids
While these aren't strictly useless for formicids (you can teleport enemies and haste allies), both are considerably less useful than for other races due to permastasis, so I think acquirement should reflect that when handing out items (as it does for vine stalkers).
Diffstat (limited to 'crawl-ref/source/acquire.cc')
-rw-r--r--crawl-ref/source/acquire.cc10
1 files changed, 3 insertions, 7 deletions
diff --git a/crawl-ref/source/acquire.cc b/crawl-ref/source/acquire.cc
index 5e9c0878ee..61908fd5dd 100644
--- a/crawl-ref/source/acquire.cc
+++ b/crawl-ref/source/acquire.cc
@@ -710,15 +710,11 @@ static int _acquirement_wand_subtype()
switch (type)
{
case WAND_HEAL_WOUNDS:
- if (you.mutation[MUT_NO_DEVICE_HEAL])
- {
- w = 0;
- break;
- }
+ w = (you.mutation[MUT_NO_DEVICE_HEAL] ? 0 : 25); break;
case WAND_HASTING: // each 17.9%, group unknown each 26.3%
- w = 25; break;
+ w = (you.species == SP_FORMICID ? 5 : 25); break;
case WAND_TELEPORTATION: // each 10.7%, group unknown each 17.6%
- w = 15; break;
+ w = (you.species == SP_FORMICID ? 1 : 15); break;
case WAND_FIRE: // each 5.7%, group unknown each 9.3%
case WAND_COLD:
case WAND_LIGHTNING: