Fixed crash when attacking while having a bBreakArmorRate item equipped (typo in r13800) (bugreport:3121).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13810 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
aa9f9ec467
commit
e8e8e35eed
@ -946,7 +946,7 @@ int skill_additional_effect (struct block_list* src, struct block_list *bl, int
|
|||||||
rate = 0;
|
rate = 0;
|
||||||
if( sd )
|
if( sd )
|
||||||
rate += sd->break_armor_rate;
|
rate += sd->break_armor_rate;
|
||||||
if( rate )
|
if( sc && sc->data[SC_MELTDOWN] )
|
||||||
rate += sc->data[SC_MELTDOWN]->val3;
|
rate += sc->data[SC_MELTDOWN]->val3;
|
||||||
if( rate )
|
if( rate )
|
||||||
skill_break_equip(bl, EQP_ARMOR, rate, BCT_ENEMY);
|
skill_break_equip(bl, EQP_ARMOR, rate, BCT_ENEMY);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user