Adjusts Assassin Cross of Sunset ASPD bonus (#5813)
* Fixes #5738. * The ASPD increase of Assassin Cross of Sunset should apply to all weapon types in renewal. Thanks to @Balferian!
This commit is contained in:
parent
1f8e600c16
commit
f623df55a8
@ -7508,6 +7508,9 @@ static short status_calc_aspd(struct block_list *bl, struct status_change *sc, b
|
||||
}
|
||||
|
||||
if (sc->data[SC_ASSNCROS] && bonus < sc->data[SC_ASSNCROS]->val2) {
|
||||
#ifdef RENEWAL
|
||||
bonus += sc->data[SC_ASSNCROS]->val2;
|
||||
#else
|
||||
if (bl->type != BL_PC)
|
||||
bonus += sc->data[SC_ASSNCROS]->val2;
|
||||
else {
|
||||
@ -7524,6 +7527,7 @@ static short status_calc_aspd(struct block_list *bl, struct status_change *sc, b
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
if (bonus < 20 && sc->data[SC_MADNESSCANCEL])
|
||||
|
Loading…
x
Reference in New Issue
Block a user