diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-02-09 16:30:39 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-02-09 16:30:39 +0000 |
commit | 2eaaef324ecd00880bb9a097e026b663361f7ce4 (patch) | |
tree | 29f54aec468f86f710e97d2ea85424bae01f8934 /crawl-ref | |
parent | 7bd87841d5e422d1b1b2a71c0dd65986918c8918 (diff) | |
download | crawl-ref-2eaaef324ecd00880bb9a097e026b663361f7ce4.tar.gz crawl-ref-2eaaef324ecd00880bb9a097e026b663361f7ce4.zip |
Implement unrandart "Wyrmbane":
a lance (spear, really) of dragon slaying
properties: +Rage, rPois, rF+, AC+5
Obviously it's still lacking a tile, so I used the general
randart spear tile instead.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3414 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/randart.h | 2 | ||||
-rw-r--r-- | crawl-ref/source/tile1.cc | 3 | ||||
-rw-r--r-- | crawl-ref/source/unrand.h | 19 |
3 files changed, 22 insertions, 2 deletions
diff --git a/crawl-ref/source/randart.h b/crawl-ref/source/randart.h index 795ee11099..a1002b34bd 100644 --- a/crawl-ref/source/randart.h +++ b/crawl-ref/source/randart.h @@ -15,7 +15,7 @@ #include "externs.h" // used in files.cc, newgame.cc, randart.cc {dlb} -#define NO_UNRANDARTS 53 +#define NO_UNRANDARTS 54 #define RA_PROPERTIES RAP_NUM_PROPERTIES // Reserving the upper bits for later expansion/versioning. diff --git a/crawl-ref/source/tile1.cc b/crawl-ref/source/tile1.cc index 413f93908e..bfab0ddc9f 100644 --- a/crawl-ref/source/tile1.cc +++ b/crawl-ref/source/tile1.cc @@ -904,6 +904,9 @@ int tileidx_unrand_artifact(int idx) case 50: return TILE_URAND_FENCER; case 51: return TILE_URAND_MAGE; case 52: return TILE_URAND_BLOWGUN; + case 53: //return TILE_URAND_WYRMBANE; + return TILE_WPN_SPEAR + 1; + } return 0; } diff --git a/crawl-ref/source/unrand.h b/crawl-ref/source/unrand.h index efbc05d7e4..4865c8df1b 100644 --- a/crawl-ref/source/unrand.h +++ b/crawl-ref/source/unrand.h @@ -1128,7 +1128,24 @@ } , - +/* 54 */ +{ + "Wyrmbane", "scale-covered lance", + OBJ_WEAPONS, WPN_SPEAR, +4, +2, GREEN, + { + SPWPN_DRAGON_SLAYING, 5, 0, 0, 0, 0, // AC + 1, 0, 0, 1, 0, 0, // res fire, poison + 0, 0, 0, 0, 0, 1, // go berserk + 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, + 0, 0 + } + , + "", + "", + "" +}, + /* This is a dummy */ /* 1 */ { |