diff options
Diffstat (limited to 'src/map/itemdb.h')
-rw-r--r-- | src/map/itemdb.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/itemdb.h b/src/map/itemdb.h index f65b4b943..88741b3b6 100644 --- a/src/map/itemdb.h +++ b/src/map/itemdb.h @@ -34,7 +34,10 @@ struct item_data { // some script commands should be revised as well...
unsigned int class_base[3]; //Specifies if the base can wear this item (split in 3 indexes per type: 1-1, 2-1, 2-2)
unsigned class_upper : 3; //Specifies if the upper-type can equip it (1: normal, 2: upper, 3: baby)
- unsigned char *script; // 攻撃,防御の属性設定もこの中で可能かな?
+ unsigned char *script; //Default script for everything.
+ unsigned char *equip_script; //Script executed once when equipping.
+ unsigned char *unequip_script;//Script executed once when unequipping.
+
struct {
unsigned available : 1;
unsigned value_notdc : 1;
|