The dynamic mobs system will no longer de-spawn mvps (because it's annoying as hell).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13662 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
0925fbc61b
commit
efe4c572b6
@ -2056,6 +2056,9 @@ int map_removemobs_sub(struct block_list *bl, va_list ap)
|
|||||||
// is damaged and mob_remove_damaged is off
|
// is damaged and mob_remove_damaged is off
|
||||||
if( !battle_config.mob_remove_damaged && md->status.hp < md->status.max_hp )
|
if( !battle_config.mob_remove_damaged && md->status.hp < md->status.max_hp )
|
||||||
return 0;
|
return 0;
|
||||||
|
// is a mvp
|
||||||
|
if( md->db->mexp > 0 )
|
||||||
|
return 0;
|
||||||
|
|
||||||
unit_free(&md->bl,0);
|
unit_free(&md->bl,0);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user