summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2017-08-21 20:58:36 +0200
committerHaru <haru@dotalux.com>2017-09-17 17:48:33 +0200
commit926cff033bb9533ae3d8615f8b90e2e443d0525b (patch)
treee6c880ede4d47f6ef3a83ae666bd08d680187b84 /doc
parent3745f1658aab4a5ffe504a5660b76402f2e2c6d6 (diff)
downloadhercules-926cff033bb9533ae3d8615f8b90e2e443d0525b.tar.gz
hercules-926cff033bb9533ae3d8615f8b90e2e443d0525b.tar.bz2
hercules-926cff033bb9533ae3d8615f8b90e2e443d0525b.tar.xz
hercules-926cff033bb9533ae3d8615f8b90e2e443d0525b.zip
Add support for bitmask arrays in the item_db Upper field
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/item_db.txt20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/item_db.txt b/doc/item_db.txt
index 8a33f9c35..d9ec96fc1 100644
--- a/doc/item_db.txt
+++ b/doc/item_db.txt
@@ -58,7 +58,7 @@ item_db: (
Summoner: true/false (boolean, defaults to false)
}
Job: Job mask (alternate synxtax, int, defaults to all jobs = 0xFFFFFFFF)
- Upper: Upper mask (int, defaults to any = 0x3f)
+ Upper: Upper mask (bitmask array, string or int, defaults to "ITEMUPPER_ALL")
Gender: Gender (string, defaults to "SEX_ANY")
Loc: Equip location (int, required value for equipment)
WeaponLv: Weapon Level (int, defaults to 0)
@@ -188,17 +188,17 @@ Job: Job restrictions. If this block is omitted, item can be equipped by all cl
All (default value): 0xFFFFFFFF
Upper: Equippable upper-types. Uses the following bitmasks:
- Normal jobs: 0x01 (1)
- Upper jobs: 0x02 (2)
- Baby jobs: 0x04 (4)
- Third jobs: 0x08 (8)
- Upper Third jobs: 0x10 (16)
- Baby Third jobs: 0x20 (32)
+ Normal jobs: ITEMUPPER_NORMAL (0x01)
+ Upper jobs: ITEMUPPER_UPPER (0x02)
+ Baby jobs: ITEMUPPER_BABY (0x04)
+ Third jobs: ITEMUPPER_THIRD (0x08)
+ Upper Third jobs: ITEMUPPER_THIRDUPPER (0x10)
+ Baby Third jobs: ITEMUPPER_THIRDBABY (0x20)
Under pre-re mode third classes are considered upper, making use of
- the 8 and above masks is therefore not necessary unless in renewal
- mode. When no value is specified, all classes (mask 0x3f) are able to
- equip the item.
+ the ITEMUPPER_THIRD and above masks is therefore not necessary unless
+ in renewal mode. When no value is specified, all classes (mask
+ ITEMUPPER_ALL = 0x3f) are able to equip the item.
Gender: Gender restriction.
Available genders: