diff options
author | johnny shelley <jwshelley@shell-22005.(none)> | 2009-11-19 05:44:39 +0000 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-20 02:34:28 -0800 |
commit | cd397dc4d76ee1ca808b7a19780b7f0a573331f1 (patch) | |
tree | 2da4843a0e279a8a2ddb79326812249d70d7e6c2 /crawl-ref/source/describe.cc | |
parent | 1dcce9fd9868509eca825cf264c95dcb0b5e511a (diff) | |
download | crawl-ref-cd397dc4d76ee1ca808b7a19780b7f0a573331f1.tar.gz crawl-ref-cd397dc4d76ee1ca808b7a19780b7f0a573331f1.zip |
ammo mulch changes
fire / frost / electric / reaping are not auto mulch flame has chance to
save reduced by 2 frost has chance to save reduced by 1 reaping has
chance to save reduced by 3 electric has standard chance as it only
procs 1 in 3 added was_missile to beam properties in order to not auto
mulch other beam types than BEAM_MISSILE
Signed-off-by: Matthew Cline <zelgadis@sourceforge.net>
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r-- | crawl-ref/source/describe.cc | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index abffa019e0..550eee4a9d 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -1023,16 +1023,14 @@ static std::string _describe_ammo(const item_def &item) switch (item.special) { case SPMSL_FLAME: - bolt_name = "flame"; - // Intentional fall-through. + description += "It turns into a bolt of flame."; + break; case SPMSL_FROST: - if (bolt_name.empty()) - bolt_name = "frost"; - // Intentional fall-through. + description += "It turns into a bolt of flame."; + break; case SPMSL_ELECTRIC: - if (bolt_name.empty()) - bolt_name = "electricity"; - // Intentional fall-through. + description += "The electricity stored in it may find a path to the ground."; + break; case SPMSL_CHAOS: if (bolt_name.empty()) bolt_name = "a random type"; @@ -1052,7 +1050,6 @@ static std::string _describe_ammo(const item_def &item) description += "it turns into a bolt of "; description += bolt_name; description += "."; - always_destroyed = true; break; case SPMSL_POISONED: @@ -1069,7 +1066,6 @@ static std::string _describe_ammo(const item_def &item) description += "If it kills a monster, causing it to leave " "a corpse, the corpse will be animated as a zombie " "friendly to the one who " + threw_or_fired + " it."; - always_destroyed = true; break; case SPMSL_PENETRATION: description += "It will pass through any targets it hits, " |