Improved the Mental Sensing fix from r12507 to not start the status at all, instead of starting it and ignoring it later on.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12519 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
39a6aabcd6
commit
8509bea301
@ -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] && !(status_get_mode(&md->bl)&MD_BOSS))
|
if (md->sc.data[SC_RICHMANKIM])
|
||||||
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);
|
||||||
|
@ -4818,7 +4818,6 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
|
|||||||
case SC_QUAGMIRE:
|
case SC_QUAGMIRE:
|
||||||
case SC_DECREASEAGI:
|
case SC_DECREASEAGI:
|
||||||
case SC_PROVOKE:
|
case SC_PROVOKE:
|
||||||
case SC_ROKISWEIL:
|
|
||||||
case SC_COMA:
|
case SC_COMA:
|
||||||
case SC_GRAVITATION:
|
case SC_GRAVITATION:
|
||||||
case SC_SUITON:
|
case SC_SUITON:
|
||||||
@ -4826,6 +4825,8 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
|
|||||||
case SC_STRIPSHIELD:
|
case SC_STRIPSHIELD:
|
||||||
case SC_STRIPARMOR:
|
case SC_STRIPARMOR:
|
||||||
case SC_STRIPHELM:
|
case SC_STRIPHELM:
|
||||||
|
case SC_RICHMANKIM:
|
||||||
|
case SC_ROKISWEIL:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user