mirror of
https://github.com/tbamud/tbamud.git
synced 2026-03-27 06:36:33 +01:00
Fix oedit menu options
This commit is contained in:
parent
b928572156
commit
33b52ffe00
6 changed files with 360 additions and 469 deletions
|
|
@ -1283,9 +1283,10 @@ struct recent_player
|
|||
|
||||
/* Armor item values (for ITEM_ARMOR objects)
|
||||
* value[0] = piece_ac (0–3)
|
||||
* value[1] = bulk (0–3)
|
||||
* value[2] = magic_bonus (0–3, capped globally later)
|
||||
* value[1] = bulk (0–3), determines allowed dex bonus
|
||||
* value[2] = magic_bonus (0–3, most will be at most +1)
|
||||
* value[3] = armor flags (bitvector, see ARMF_*)
|
||||
* value[4] = durability, or how much damage an item can take before breaking (usually 100)
|
||||
*/
|
||||
#define VAL_ARMOR_PIECE_AC 0
|
||||
#define VAL_ARMOR_BULK 1
|
||||
|
|
@ -1293,9 +1294,6 @@ struct recent_player
|
|||
#define VAL_ARMOR_FLAGS 3
|
||||
#define VAL_ARMOR_DURABILITY 4
|
||||
|
||||
/* Armor flags (value[3]) */
|
||||
#define ARMF_STEALTH_DISADV (1 << 0) /* Disadvantage on Stealth */
|
||||
|
||||
/* Armor-specific flags stored in obj->value[3] */
|
||||
#define ARMF_STEALTH_DISADV (1 << 0) /* Disadvantage on Stealth checks */
|
||||
#define ARMF_REQ_STR15 (1 << 1) /* Requires STR 15 to wear */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue