This commit is contained in:
aozhiwei 2023-05-24 17:15:45 +08:00
parent c20d05d187
commit f313a4b5c4

View File

@ -687,7 +687,7 @@ void Player::ProcInteraction()
int curr_num = 0;
if (loot->meta->equip_type() == EQUIP_TYPE_WEAPON) {
if (GetCurrWeapon()->weapon_id == loot->meta->id()) {
curr_num = GetCompose()->GetNum();
curr_num = GetCompose()->GetNum() + 1;
}
} else if (loot->meta->equip_type() == EQUIP_TYPE_GEMSTONE) {
switch (loot->meta->equip_subtype()) {
@ -725,7 +725,7 @@ void Player::ProcInteraction()
int curr_num = 0;
if (loot->meta->equip_type() == EQUIP_TYPE_WEAPON) {
if (GetCurrWeapon()->weapon_id == loot->meta->id()) {
curr_num = GetCompose()->GetNum();
curr_num = GetCompose()->GetNum() + 1;
}
} else if (loot->meta->equip_type() == EQUIP_TYPE_GEMSTONE) {
switch (loot->meta->equip_subtype()) {