NO I'm getting adds new attributes already edited all , but i can not .
I think the problem esteje this verification:
item.h
does anyone know what the correct for these new attributes:
enums.h
other files I believe that already edited out.
please help me badly needed these new attributes
I think the problem esteje this verification:
item.h
Code:
inline static bool isIntAttrType(itemAttrTypes type) {
return (type & 0x7FFE13) != 0;
}
inline static bool isStrAttrType(itemAttrTypes type) {
return (type & 0x1EC) != 0;
}
does anyone know what the correct for these new attributes:
enums.h
Code:
enum itemAttrTypes {
ITEM_ATTRIBUTE_NONE = 0,
ITEM_ATTRIBUTE_ACTIONID = 1,
ITEM_ATTRIBUTE_UNIQUEID = 2,
ITEM_ATTRIBUTE_DESCRIPTION = 4,
ITEM_ATTRIBUTE_TEXT = 8,
ITEM_ATTRIBUTE_DATE = 16,
ITEM_ATTRIBUTE_WRITER = 32,
ITEM_ATTRIBUTE_NAME = 64,
ITEM_ATTRIBUTE_ARTICLE = 128,
ITEM_ATTRIBUTE_PLURALNAME = 256,
ITEM_ATTRIBUTE_WEIGHT = 512,
ITEM_ATTRIBUTE_ATTACK = 1024,
ITEM_ATTRIBUTE_DEFENSE = 2048,
ITEM_ATTRIBUTE_EXTRADEFENSE = 4096,
ITEM_ATTRIBUTE_ARMOR = 8192,
ITEM_ATTRIBUTE_HITCHANCE = 16384,
ITEM_ATTRIBUTE_SHOOTRANGE = 32768,
ITEM_ATTRIBUTE_OWNER = 65536,
ITEM_ATTRIBUTE_DURATION = 131072,
ITEM_ATTRIBUTE_DECAYSTATE = 262144,
ITEM_ATTRIBUTE_CORPSEOWNER = 524288,
ITEM_ATTRIBUTE_CHARGES = 1048576,
ITEM_ATTRIBUTE_FLUIDTYPE = 2097152,
ITEM_ATTRIBUTE_DOORID = 4194304,
ITEM_ATTRIBUTE_HP = 8388608, // new attribute int
ITEM_ATTRIBUTE_HPMAX = 16777216, // new attribute int
ITEM_ATTRIBUTE_MONSTER = 33554432 // new attribute string
};
other files I believe that already edited out.
please help me badly needed these new attributes