Added new mapflags for disabling renewal exp & drop penalty (#6541)

This commit is contained in:
Jittapan Pluemsumran
2022-01-21 20:28:42 +07:00
committed by GitHub
parent e40da669ed
commit 53a367785d
4 changed files with 20 additions and 0 deletions

View File

@@ -12613,6 +12613,10 @@ uint16 pc_level_penalty_mod( struct map_session_data* sd, e_penalty_type type, s
return 100;
}
if ((type == PENALTY_DROP && map_getmapflag(sd->bl.m, MF_NORENEWALDROPPENALTY)) || (type == PENALTY_EXP && map_getmapflag(sd->bl.m, MF_NORENEWALEXPPENALTY))) {
return 100;
}
int monster_level;
if( md != nullptr ){