summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/artefact.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-08-08 15:25:02 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-08-08 15:25:02 +0000
commitc4263fdd9aedbf0e51e65b84b1b5c630a3cf3643 (patch)
tree656e37b86ba4f1dff38adbdcfcb00140ae5fa827 /crawl-ref/source/artefact.h
parent8ec73a1e28b4f0695f567a76ed289836581130f6 (diff)
downloadcrawl-ref-c4263fdd9aedbf0e51e65b84b1b5c630a3cf3643.tar.gz
crawl-ref-c4263fdd9aedbf0e51e65b84b1b5c630a3cf3643.zip
More artefact/acquirement modifications:
* When handing out body armour via scroll acquirement, use a rough order of armour subtypes and assign weights according to Armour skill, i.e. robes are most likely at Armour skill 0 and crystal plate mail is most likely at Armour skill 27 (well, 24+, to be exact). * When handing out mundane items, consider the shield slot to be filled if the character is unarmed has a high UC skill, or is wielding a two-hander, a ranged weapon, or a rod. I don't know how much shields hamper spellcasting - that could be included as well. * In the creation of artefacts (also outside acquirement) make sure that those boring randarts that only have one stat property (AC, EV, Str, Dex, Int) get another one, and there's a chance of getting a third. Also, if the only property is Acc or Dam there's a 50% chance of getting one or two more. As before, the bonus properties are all stat properties, so this shouldn't be too powerful. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10501 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/artefact.h')
-rw-r--r--crawl-ref/source/artefact.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/crawl-ref/source/artefact.h b/crawl-ref/source/artefact.h
index 2b240ef69a..666d42cac1 100644
--- a/crawl-ref/source/artefact.h
+++ b/crawl-ref/source/artefact.h
@@ -237,9 +237,6 @@ int artefact_wpn_property( const item_def &item, artefact_prop_type prop );
int artefact_known_wpn_property( const item_def &item,
artefact_prop_type prop );
-int artefact_wpn_num_props( const item_def &item );
-int artefact_wpn_num_props( const artefact_properties_t &proprt );
-
void artefact_wpn_learn_prop( item_def &item, artefact_prop_type prop );
bool artefact_wpn_known_prop( const item_def &item, artefact_prop_type prop );