Jump to content

Item bonuses UPDATED


Lilith

Recommended Posts


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  407
  • Reputation:   159
  • Joined:  11/18/11
  • Last Seen:  

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

  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

woa amazing o:! +1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  275
  • Reputation:   7
  • Joined:  10/08/12
  • Last Seen:  

WELL DONE esp this!!!!

 

  • 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.
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

nice /no1

Link to comment
Share on other sites

  • 9 months later...

  • Group:  Members
  • Topic Count:  163
  • Topics Per Day:  0.04
  • Content Count:  319
  • Reputation:   8
  • Joined:  02/05/12
  • Last Seen:  

Exceptional work! 

 

But are you sure it is working properly? I say this because, when I use the  "Turtle General" card with bonus2 baddclass the damage is different from bonus2 bAddRace.

 

 bonus2 bAddRace. > bonus2 bAddClass

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

 

Exceptional work! 
 
But are you sure it is working properly? I say this because, when I use the  "Turtle General" card with bonus2 baddclass the damage is different from bonus2 bAddRace.
 
 bonus2 bAddRace. > bonus2 bAddClass

 

it should be same, let's see.

and, seems I worry about the short type of cardfix

short cardfix = 1000, t_class, s_class, s_race2, t_race2;
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  163
  • Topics Per Day:  0.04
  • Content Count:  319
  • Reputation:   8
  • Joined:  02/05/12
  • Last Seen:  

So, this probably was a my mistake?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...