From 5ee8e1023189c21f6b07d64077ccbf6df5e3980c Mon Sep 17 00:00:00 2001 From: shunta hayashi Date: Wed, 20 May 2026 02:27:24 +0900 Subject: [PATCH] Fix duplicate item ID check in bio4_reward (#10022) The condition for .@type = 1 in bio4_reward.txt checked .@equip_item == 13069 twice, making the second comparison dead code. Remove the duplicate while preserving the rest of the list (1291, 1392, 1393, 1435, 1490, 13070, 16017). No behavior change: items previously matching still match; no item is newly added or removed from the set. Closes #10021 Co-authored-by: Shunta Hayashi <201278530+taiman724@users.noreply.github.com> --- npc/re/merchants/bio4_reward.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/npc/re/merchants/bio4_reward.txt b/npc/re/merchants/bio4_reward.txt index 01f3cf57dc9..fc8214f5fd0 100644 --- a/npc/re/merchants/bio4_reward.txt +++ b/npc/re/merchants/bio4_reward.txt @@ -642,9 +642,9 @@ lhz_cube,233,24,4 script Sorcerer#Bio4Reward 4_M_UMDANCEKID,{ .@equip_item = getequipid(.@part); setarray .@equip_card[0], getequipcardid(.@part,0), getequipcardid(.@part,1), getequipcardid(.@part,2), getequipcardid(.@part,3); .@lhz_max_num = 4000; - if (.@equip_item == 13069 || .@equip_item == 1291 || .@equip_item == 1392 || - .@equip_item == 1393 || .@equip_item == 1435 || .@equip_item == 1490 || - .@equip_item == 13069 || .@equip_item == 13070 || .@equip_item == 16017) { + if (.@equip_item == 13069 || .@equip_item == 1291 || .@equip_item == 1392 || + .@equip_item == 1393 || .@equip_item == 1435 || .@equip_item == 1490 || + .@equip_item == 13070 || .@equip_item == 16017) { .@type = 1; if (.@equip_item == 1490) .@lhz_max_num = 4200;