summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makeitem.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-15 21:05:49 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-15 21:05:49 +0000
commit1682e7b0ab2b1d27a08bda37ed17437e04a42af0 (patch)
tree78e9f01f8057ad3447d42d27c0396d7071184e45 /crawl-ref/source/makeitem.cc
parentd010034da6f36c56f5d0ec72cd2675aef63fd333 (diff)
downloadcrawl-ref-1682e7b0ab2b1d27a08bda37ed17437e04a42af0.tar.gz
crawl-ref-1682e7b0ab2b1d27a08bda37ed17437e04a42af0.zip
Let TSO's weapon blessing for the player create blessed variants of all
long blades, not just demon blades. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4250 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r--crawl-ref/source/makeitem.cc11
1 files changed, 9 insertions, 2 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index ee14f188c7..daa04b5113 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -1482,7 +1482,14 @@ static brand_type determine_weapon_brand(const item_def& item, int item_level)
rc = SPWPN_VENOM;
break;
- case WPN_BLESSED_BLADE: // special gift of TSO
+ case WPN_BLESSED_FALCHION: // special gifts of TSO
+ case WPN_BLESSED_LONG_SWORD:
+ case WPN_BLESSED_SCIMITAR:
+ case WPN_BLESSED_KATANA:
+ case WPN_BLESSED_BLADE:
+ case WPN_BLESSED_DOUBLE_SWORD:
+ case WPN_BLESSED_GREAT_SWORD:
+ case WPN_BLESSED_TRIPLE_SWORD:
rc = SPWPN_HOLY_WRATH;
break;
@@ -3401,7 +3408,7 @@ static item_make_species_type give_weapon(monsters *mon, int level,
item.colour = WHITE; // forced by force_item above {dlb}
item.sub_type = (one_chance_in(4) ? WPN_BLESSED_BLADE
- : WPN_LONG_SWORD);
+ : WPN_BLESSED_LONG_SWORD);
set_equip_desc( item, ISFLAG_GLOWING );
set_item_ego_type( item, OBJ_WEAPONS, SPWPN_HOLY_WRATH );