Issue information

Issue ID
#5377
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Feb 28, 2012 21:44
Last Post
Hercules Elf Bot
Apr 19, 2012 18:30
Confirmation
N/A

Hercules Elf Bot - Feb 28, 2012 21:44

Originally posted by [b]Vali[/b]
The MPV drops (and rare drops) must not be penalized by the RE drop penalty: http://irowiki.org/wiki/Drop_System#Level_Factor [Read the note]

But the penalty is applied. Tested in a x5 server with baphomet. I'm lvl 149 and the Bapho only drops Elu, and must drop Elu + Ori.

Vali~

Hercules Elf Bot - Feb 29, 2012 2:37

Originally posted by [b]Aleos[/b]
You can easily change this in [i]src/mob.c[/i]:
[b]For experience[/b]
[code]#if REMODE
party_renewal_exp_mod(&base_exp,&job_exp,tmpsd[i]->status.base_level,md->level);
#endif
[/code]
To:
[code]#if REMODE
if ( !md->db->mexp )
party_renewal_exp_mod(&base_exp,&job_exp,tmpsd[i]->status.base_level,md->level);
#endif
[/code]

[b]For drops[/b]
[code]#if RE_DROP_MOD
if( drop_modifier != 100 )
drop_rate = drop_rate * drop_modifier / 100;
#endif
[/code]
To:
[code]#if RE_DROP_MOD
if( drop_modifier != 100 && !mob->db->mexp )
drop_rate = drop_rate * drop_modifier / 100;
#endif
[/code]

Keep in mind all that does is look and check to make sure that the MVP does not give any MVP Experience. The mob can still have the "Boss" flag but as long as it doesn't give any MVP Experience it won't be affected.

This post has been edited by Aleos on Feb 29, 2012 2:37

Hercules Elf Bot - Feb 29, 2012 6:14

Originally posted by [b]Protimus[/b]
Fixed in [url="https://sourceforge.net/apps/trac/rathena/changeset/15638"]r15638[/url]

If you have problems or questions, just send me a PM.