Casting damage spells with Druids wildshaped into dire wolf
Casting damage spells with Druids (at least with Melany) who are wildshaped into dire wolf results in (rather effective) trip attempts for each target that's damaged by the spell.
What spells did you test with?
Never mind ... I see the bug.
I see that the script seems to allow for touch attacks to trigger the wolf shape trip attempt as well; I'm 99% sure it should only be triggered by full and standard attacks, as this is not a standard trip attack (which does get triggered by a touch attack roll, but the point of this special quality of the wolf shape is that a normal physical attack triggers the trip attempt).
Would especially be problematic if ranged touch attacks (i.e. from Produce Flame spell cast while in wolf shape) would result in trip attempts.
Thanks. I agree with your logic. I updated my pull request.