mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 02:11:30 +00:00
Add necro pet spell effect id to pet spell reagent check
This commit is contained in:
parent
952fd43301
commit
709a25ba9e
@ -1230,7 +1230,7 @@ void Mob::CastedSpellFinished(uint16 spell_id, uint32 target_id, CastingSlot slo
|
|||||||
|
|
||||||
// handle the components for traditional casters
|
// handle the components for traditional casters
|
||||||
else {
|
else {
|
||||||
if (!RuleB(Character, PetsUseReagents) && IsEffectInSpell(spell_id, SE_SummonPet)) {
|
if (!RuleB(Character, PetsUseReagents) && (IsEffectInSpell(spell_id, SE_SummonPet) || IsEffectInSpell(spell_id, SE_NecPet))) {
|
||||||
//bypass reagent cost
|
//bypass reagent cost
|
||||||
}
|
}
|
||||||
else if(c->GetInv().HasItem(component, component_count, invWhereWorn|invWherePersonal) == -1) // item not found
|
else if(c->GetInv().HasItem(component, component_count, invWhereWorn|invWherePersonal) == -1) // item not found
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user