summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mgen_data.h
diff options
context:
space:
mode:
authorEd Gonzalez <ed.gonzalez3@gmail.com>2013-06-25 04:46:58 -0700
committerPete Hurst <pete@streamuniverse.tv>2013-06-26 04:42:28 +0100
commit6cfaa0000909120bef45dbf5f124dabb93cda4e4 (patch)
treee5e47008dd4af83dbbeb74e81b001694a8bb9e6f /crawl-ref/source/mgen_data.h
parentf0fb5c9c8bf10878af3cf2fb4486aec9aaf41d6e (diff)
downloadcrawl-ref-6cfaa0000909120bef45dbf5f124dabb93cda4e4.tar.gz
crawl-ref-6cfaa0000909120bef45dbf5f124dabb93cda4e4.zip
Moved the setting of Spectral Weapon stats to ghost code, like dancing.
By initialising the weapon's stats using a ghost, more properties can be easily set. Also vault/wiz-mode placed spectral weapons now get appropriate stats, as if the spell had been cast at max power and max weapon skill. Spectral weapons still shouldn't be placed directly in normal games.
Diffstat (limited to 'crawl-ref/source/mgen_data.h')
-rw-r--r--crawl-ref/source/mgen_data.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/mgen_data.h b/crawl-ref/source/mgen_data.h
index e98bb67e84..2f8c32674a 100644
--- a/crawl-ref/source/mgen_data.h
+++ b/crawl-ref/source/mgen_data.h
@@ -8,6 +8,8 @@
// a dancing weapon.
#define TUKIMA_WEAPON "tukima-weapon"
#define TUKIMA_POWER "tukima-power"
+// Technically only used for spectral weapon, not dancing weapons
+#define TUKIMA_SKILL "tukima-skill"
// A structure with all the data needed to whip up a new monster.
struct mgen_data