Well, the description says it works on summoned pets, not charmed. I also asked someone on the PEQ server that played an enc on live and he said he didn't think it worked on charmed but he wasn't 100% sure because he mostly soloed. I also can't test these changes because at school I don't have access to a computer that I could host a computer on :P.
So in the file zone/groups.cpp
on line 634
change it from (lines 633-636)
Code:
#ifdef GROUP_BUFF_PETS
if(caster->GetPet() && caster->GetAA(aaPetAffinity))
caster->BardPulse(spell_id, caster->GetPet());
#endif
to
Code:
#ifdef GROUP_BUFF_PETS
if(caster->GetPet() && caster->GetAA(aaPetAffinity) && !Charmed())
caster->BardPulse(spell_id, caster->GetPet());
#endif
and on line 644
change from (lines 643-646)
Code:
#ifdef GROUP_BUFF_PETS
if(members[z]->GetPet() && members[z]->GetAA(aaPetAffinity))
members[z]->GetPet()->BardPulse(spell_id, caster);
#endif
to
Code:
#ifdef GROUP_BUFF_PETS
if(members[z]->GetPet() && members[z]->GetAA(aaPetAffinity) && !Charmed())
members[z]->GetPet()->BardPulse(spell_id, caster);
#endif
I'm not 100% if this will work :S so it would be nice if someone could check that would be great, only really thing I can think that might not be right is if Pet Affinity works on charmed pets, which I've been told is not the case, or if !Charmed() needs to do something else :S
but the main reason I'm doing this is because if an enc has Pet Affinity and a charmed pet and a bard in their group playing a resist buff song then the pet will break the charm every tick (pretty much) since it checks every tick to see if it can break the charm based on it's MR[I think])