From ae06188871d1bc363fdc3c6614daeb6fb15e6b9a Mon Sep 17 00:00:00 2001 From: David Markowitz <39972741+EmosewaMC@users.noreply.github.com> Date: Fri, 14 Jan 2022 04:46:41 -0800 Subject: [PATCH] Added Bat Lord Full Set Bonus (#375) * Added Bat Lord Full Set Bonus --- dGame/dInventory/ItemSetPassiveAbility.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dGame/dInventory/ItemSetPassiveAbility.cpp b/dGame/dInventory/ItemSetPassiveAbility.cpp index 11f142c6..9edb671b 100644 --- a/dGame/dInventory/ItemSetPassiveAbility.cpp +++ b/dGame/dInventory/ItemSetPassiveAbility.cpp @@ -185,6 +185,7 @@ std::vector ItemSetPassiveAbility::FindAbilities(uint32_t break; } // Paradox + case ItemSetPassiveAbilityID::BatLord: case ItemSetPassiveAbilityID::SpaceMarauderRank1: case ItemSetPassiveAbilityID::SpaceMarauderRank2: case ItemSetPassiveAbilityID::SpaceMarauderRank3: @@ -223,6 +224,12 @@ void ItemSetPassiveAbility::OnEnemySmshed() switch (id) { + // Bat Lord + case ItemSetPassiveAbilityID::BatLord: { + if(equippedCount < 5) return; + destroyableComponent->Heal(3); + break; + } // Sentinel case ItemSetPassiveAbilityID::KnightRank1: { if (equippedCount < 5) return;