diff options
author | Adam Borowski <kilobyte@angband.pl> | 2009-11-12 21:03:21 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2009-11-12 21:03:21 +0100 |
commit | 28af63f40ce7f996d4dd4aeab049510ae7557fd4 (patch) | |
tree | 9f9792c3f7727667d7f1edd70129b766ef89e6d2 /crawl-ref | |
parent | 806878936af9a2d64c748cd9b611b95316a62a0b (diff) | |
download | crawl-ref-28af63f40ce7f996d4dd4aeab049510ae7557fd4.tar.gz crawl-ref-28af63f40ce7f996d4dd4aeab049510ae7557fd4.zip |
Fix the Volcano producing launchers of flaming (the ranged brand is "flame").
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/dat/volcano.des | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/dat/volcano.des b/crawl-ref/source/dat/volcano.des index f986ea9641..db0a8bb924 100644 --- a/crawl-ref/source/dat/volcano.des +++ b/crawl-ref/source/dat/volcano.des @@ -223,7 +223,10 @@ end function make_fiery_weapon (e, weapon) local weapon_string = "" for _, wt in ipairs(weapon) do - weapon_string = weapon_string .. " / " .. wt .. " ego:flaming good_item" + if string.find(wt, "bow") == nil + then weapon_string = weapon_string .. " / " .. wt .. " ego:flaming good_item" + else weapon_string = weapon_string .. " / " .. wt .. " ego:flame good_item" + end end local n_weapon = string.gsub(weapon_string, "%s*\/$", "") e.item(n_weapon) |