hmm..
it looks like something else is at the root of this problem... if you notice, there is a "cur->CheckAggro(target)" clause in the conditional there, so `cur` would only get aggro added to them if they are already mad at `target` (the person who was healed)... so this implies that for you to see what you are seeing, that `target` must have already been on `cur`'s hatelist.
if `caster` was healing an enemy (`target`) though, then anybody that was fighting `target` (`caster`'s friends) would have `target` on their hate list, and would then put `caster` on their hate list...
if that dosent hurt your head, I dont know what will.
I believe that this means that there is a beneficial spell set with the wrong AI type in your spell sets in your DB. This recently became a problem when I lifted the "NPCs must not cast beneficial spells on their enemies" rule, since its not needed if the spell sets are configured correctly.
I know that PEQ has an error in the default cleric list, with one of the symbol spells, prolly want to fix that. Then you might want to audit all the lists.
please post results.
|