Added AEGIS 'CLASS_' enum (dae8122, 8120164) contains updates in item bonuses.
Item bonuses 'bAddDefClass' and 'bAddMdefClass' replaced by 'bAddDefMonster' and 'bAddMdefMonster'.
Item bonuses 'bIgnoreMdefRate' and 'bIgnoreDefRate' replaced by 'bIgnoreMdefRaceRate' and 'bIgnoreDefRaceRate'.
Added new item bonuses: bIgnoreDefClass, bDefRatioAtkClass, bAddClass, bSubClass, bMagicAddClass, bWeaponComaClass, bHpDrainValueClass, bSpDrainValueClass, bIgnoreMdefClassRate.
All monsters separated on Class_, like in AEGIS:
Class_Normal - all normal monsters
Class_Boss - all boss monsters
Class_Guardian - all Guardian type monsters (in gvg map)
For example, we use now '{ bonus2 bAddClass,Class_Normal,10; }' instead of '{ bonus2 bAddRace,RC_NonBoss,10; }' in item bonus filed. This bonus will not affect on Guardians, only on Normal class.
Also was added new constants:
RC_ALL (RC_All) - Immediately to indicate all races.
CLASS_ALL (Class_All) - Immediately to indicate all classes.
ELE_ALL (Ele_All) - Immediately to indicate all elements.
SZ_ALL (Size_All) - Immediately to indicate all sizes.
For example,
{ bonus2 bAddSize,Size_All,40; }
instead of
{ bonus2 bAddSize,Size_Small,40; bonus2 bAddSize,Size_Medium,40; bonus2 bAddSize,Size_Large,40; }
New lines in doc/item_bonus.txt
bonus bIgnoreDefClass,n; Disregard DEF against enemies of class n
n: Class_Normal, Class_Boss, Class_Guardian
bonus bDefRatioAtkClass,n; Does more damage depending on monster Defense against class n (defense disregard)
bonus2 bIgnoreDefRaceRate,n,x; Disregard x% of the target's DEF if the target belongs to race n
n: RC_Formless, RC_Undead, RC_Brute, RC_Plant, RC_Insect, RC_Fish, RC_Demon, RC_DemiHuman, RC_Angel, RC_Dragon, RC_All
bonus2 bAddClass,n,x; +x% physical damage against class n
n: Class_Normal, Class_Boss, Class_Guardian
bonus2 bSubClass,n,x; +x% damage reduction against class n
n: Class_Normal, Class_Boss, Class_Guardian
bonus2 bMagicAddClass,n,x; +x% magical damage against class n
n: Class_Normal, Class_Boss, Class_Guardian
bonus2 bWeaponComaClass,n,y; y/100% chance to cause Coma when attacking a monster of class x with a normal attack
n: Class_Normal, Class_Boss, Class_Guardian
bonus2 bHpDrainValueClass,n,x; Heals +x HP when attacking a monster of class n with normal attack.
n: Class_Normal, Class_Boss, Class_Guardian
bonus2 bSpDrainValueClass,n,x; Heals +x SP when attacking a monster of class n with normal attack.
n: Class_Normal, Class_Boss, Class_Guardian
bonus2 bIgnoreMdefClassRate,n,x; Disregard x% of the target's MDEF if the target belongs to class n
n: Class_Normal, Class_Boss, Class_Guardian