breaking crystal armor
Instead of a 5% chance for crystal plate mail or crystal helmet to break each time it's subjected to breakage, switch to a 10% chance but the damage is treated as erosion rather than break/don't-break. 'crystal foo' will need to go through four stages of damage before breaking: cracked crystal foo, very cracked crystal foo, thoroughly cracked crystal foo, then gone. Crackproof handling is included, described as tempered crystal foo. It mostly still applies to throwing and kicking the item. Having some hits trigger damage might be worthwhile but isn't implemented. Object creation within lua code probably needs to be updated, and when the Mitre of Holiness is created in the priest/priestess quest it should start out as tempered (erodeproof). Perhaps it ought to be erodeproof regardless of where/how it's created.
This commit is contained in:
@@ -436,6 +436,7 @@ struct obj {
|
||||
#define ERODE_RUST 1
|
||||
#define ERODE_ROT 2
|
||||
#define ERODE_CORRODE 3
|
||||
#define ERODE_CRACK 4 /* crystal armor */
|
||||
|
||||
/* erosion flags for erode_obj() */
|
||||
#define EF_NONE 0
|
||||
|
||||
Reference in New Issue
Block a user