mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-08-31 18:17:33 -04:00
Bombchu logic fix: don't allow bombchus in single bag without bag, eg arms dealer (#7134)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user