Added new mapflags for disabling renewal exp & drop penalty (#6541)
This commit is contained in:
committed by
GitHub
parent
e40da669ed
commit
53a367785d
@@ -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 ){
|
||||
|
||||
Reference in New Issue
Block a user