Bombchu logic fix: don't allow bombchus in single bag without bag, eg arms dealer (#7134)

This commit is contained in:
Philip Dubé
2026-08-30 14:32:53 +00:00
committed by GitHub
parent 896bf97a43
commit 2ba5c40da6
+2 -1
View File
@@ -2462,7 +2462,7 @@ void Logic::ApplyItemEffect(Item& item, bool state) {
case RG_BOMBCHU_5:
case RG_BOMBCHU_10:
case RG_BOMBCHU_20:
if (ctx->GetOption(RSK_BOMBCHU_BAG).IsNot(RO_BOMBCHU_BAG_PROGRESSIVE)) {
if (ctx->GetOption(RSK_BOMBCHU_BAG).Is(RO_BOMBCHU_BAG_NONE)) {
SetInventory(ITEM_BOMBCHU, (!state ? ITEM_NONE : ITEM_BOMBCHU));
}
break;
@@ -2592,6 +2592,7 @@ void Logic::ApplyItemEffect(Item& item, bool state) {
if (ctx->GetOption(RSK_BOMBCHU_BAG).Is(RO_BOMBCHU_BAG_NONE)) {
SetInventory(ITEM_BOMBCHU, (!state ? ITEM_NONE : ITEM_BOMBCHU));
}
break;
default:
break;
}