Hello Alan,
I can only repeat what other already wrote: I see huge potentials in the Extension. The (biased) calculation is a significant help in large battles - having (as GM) the option to accept or not accept the choice would be nice, but since you can mute the output to the players now (with version 1.1.1) while getting the whole (verbose) calculation as GM, changing the target afterwards is no issue ;)
As Rocketvault already pointed out: there are some "early adopter's bugs":
- The extension also sets targets for Player NPCs (conjured monsters, familiars, pack animals, etc.). As these NPCs are fully player controlled, they should not be part of the automation. Perhaps a similar option like for selection of targets would be possible (Select target for: "All NPCs", "Any Hostile", or "All But Friendly").
- I have the following error in a specific situation with ONLY this extension loaded:
Code:
s'Saving aggro data...'
s'Aggro data save complete'
[ERROR] Script execution error: [string "Aggro:scripts/manager_aggro.lua":717: bad argument #1 to 'ipairs' (table expected, got nil)
Situation on map: hostile where the error is generated when turn starts is adjacent to a player character and a player NPC (conjured "pet"). No target is selected for the hostile on turn start. Both adjacent tokens calculate the same threat value (200 - 100 from base, 100 from proximity). Issue is repeatable (moved turn counter back to last PC, advance turn - produces the same error) but vanishes if one token is selected as target before the turn.
Error also occurs when one token is lifted 5' into the air which results into the same calculation, but vanishes when the token is lifted 10' (which changes its calculation to 150 - 100 base, 50 proximity). I therefore assume that the same calculation result causes the issue. Option for Target Selection is set to "Pure Logical". When set to "Logical Chance", surprisingly, none of the two is chosen as target but one of the next closer ones (150 - 100 from base, 50 from proximity).
Hope this helps in further debugging/development!