Added missing items equipment up to 02/10/2023 (#7606)
* Added missing items equipment up to 02/10/2023 * Implemented the item bonuses bIgnoreResRaceRate and bIgnoreMResRaceRate Thanks to @attackjom for the review!
This commit is contained in:
@@ -4728,6 +4728,16 @@ void pc_bonus2(map_session_data *sd,int type,int type2,int val)
|
||||
if(sd->state.lr_flag != 2)
|
||||
sd->indexed_bonus.ignore_def_by_race[type2] += val;
|
||||
break;
|
||||
case SP_SP_IGNORE_RES_RACE_RATE: // bonus2 bIgnoreResRaceRate,r,n;
|
||||
PC_BONUS_CHK_RACE(type2,SP_SP_IGNORE_RES_RACE_RATE);
|
||||
if(sd->state.lr_flag != 2)
|
||||
sd->indexed_bonus.ignore_res_by_race[type2] += val;
|
||||
break;
|
||||
case SP_SP_IGNORE_MRES_RACE_RATE: // bonus2 bIgnoreMResRaceRate,r,n;
|
||||
PC_BONUS_CHK_RACE(type2,SP_SP_IGNORE_MRES_RACE_RATE);
|
||||
if(sd->state.lr_flag != 2)
|
||||
sd->indexed_bonus.ignore_mres_by_race[type2] += val;
|
||||
break;
|
||||
case SP_IGNORE_DEF_CLASS_RATE: // bonus2 bIgnoreDefClassRate,r,n;
|
||||
PC_BONUS_CHK_CLASS(type2, SP_IGNORE_DEF_CLASS_RATE);
|
||||
if (sd->state.lr_flag != 2)
|
||||
|
||||
Reference in New Issue
Block a user