Add necromancer pet spell check to other reagent logic

This commit is contained in:
Joshua Packard 2020-02-16 09:23:26 -08:00 committed by GitHub
parent 709a25ba9e
commit 141ecca2bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1263,7 +1263,7 @@ void Mob::CastedSpellFinished(uint16 spell_id, uint32 target_id, CastingSlot slo
return;
}
}
else if (!RuleB(Character, PetsUseReagents) && IsEffectInSpell(spell_id, SE_SummonPet)) {
else if (!RuleB(Character, PetsUseReagents) && (IsEffectInSpell(spell_id, SE_SummonPet) || IsEffectInSpell(spell_id, SE_NecPet))) {
//bypass reagent cost
}
else if (!bard_song_mode)