NVM on last fix (r12510).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12511 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
Kevin 2008-04-06 23:33:50 +00:00
parent 38a6ab6dbf
commit d9c9d9b3f8

View File

@ -2166,7 +2166,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
(!map[m].flag.nobaseexp || !map[m].flag.nojobexp) //Gives Exp (!map[m].flag.nobaseexp || !map[m].flag.nojobexp) //Gives Exp
) { //Experience calculation. ) { //Experience calculation.
int bonus = 100; //Bonus on top of your share (common to all attackers). int bonus = 100; //Bonus on top of your share (common to all attackers).
if (md->sc.data[SC_RICHMANKIM] && !md->db->mexp) if (md->sc.data[SC_RICHMANKIM] && !(status_get_mode(&md->bl)&MD_BOSS))
bonus += md->sc.data[SC_RICHMANKIM]->val2; bonus += md->sc.data[SC_RICHMANKIM]->val2;
if(sd) { if(sd) {
temp = status_get_class(&md->bl); temp = status_get_class(&md->bl);