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:
Atemo
2023-02-15 16:15:11 +01:00
committed by GitHub
parent a35063dfd6
commit b2ceb30e30
10 changed files with 3778 additions and 31 deletions

View File

@@ -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)