1
This commit is contained in:
parent
0be164988a
commit
c3aff41128
@ -71,11 +71,11 @@ void BoxDrop::OnHumanDeadDrop(Human* hum)
|
|||||||
for (int i = 0; i < hum->box_num; ++i) {
|
for (int i = 0; i < hum->box_num; ++i) {
|
||||||
int rnd = a8::RandEx(0, 100);
|
int rnd = a8::RandEx(0, 100);
|
||||||
if (hum->stats->abandon_battle) {
|
if (hum->stats->abandon_battle) {
|
||||||
if (rnd <= mt::Param::s().battle_event_end_loss_rate_quit * 100) {
|
if (rnd <= (mt::Param::s().battle_event_end_loss_rate_quit * 100)) {
|
||||||
++drop_num;
|
++drop_num;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (rnd <= mt::Param::s().battle_event_end_loss_rate_dead * 100) {
|
if (rnd <= (mt::Param::s().battle_event_end_loss_rate_dead * 100)) {
|
||||||
++drop_num;
|
++drop_num;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user