From aa9320de3c554d5732a7315b715ca0168b6000c7 Mon Sep 17 00:00:00 2001 From: KayenEQ Date: Fri, 18 Feb 2022 09:37:09 -0500 Subject: [PATCH] [Spells] Bard songs from item clickies should not require components (#2011) --- zone/spells.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zone/spells.cpp b/zone/spells.cpp index cb6352018..728ec8e5d 100644 --- a/zone/spells.cpp +++ b/zone/spells.cpp @@ -1525,7 +1525,8 @@ void Mob::CastedSpellFinished(uint16 spell_id, uint32 target_id, CastingSlot slo // handle the components for traditional casters else { - if (!RuleB(Character, PetsUseReagents) && (IsEffectInSpell(spell_id, SE_SummonPet) || IsEffectInSpell(spell_id, SE_NecPet))) { + if (!RuleB(Character, PetsUseReagents) && (IsEffectInSpell(spell_id, SE_SummonPet) || IsEffectInSpell(spell_id, SE_NecPet)) || + (IsBardSong(spell_id) && (slot == CastingSlot::Item|| slot == CastingSlot::PotionBelt))) { //bypass reagent cost } else if(c->GetInv().HasItem(component, component_count, invWhereWorn|invWherePersonal) == -1) // item not found