caewok / fvtt-walled-templates

Foundry VTT templates that interact with walls
MIT License
9 stars 4 forks source link

Feature request: Add additonal never target check to make midi-qol happy #37

Closed tposney closed 1 year ago

tposney commented 1 year ago

I notice that you already support midi by the check

    if ( getProperty(token, "actor.system.details.type.custom")?.includes("NoTarget") ) return false;

I was wondering if you could add

    if ( getProperty(token, "actor.flags.midi-qol.neverTarget") ) return false;
tposney commented 1 year ago

The noTarget custom type is not a very good solution. I've implemented the flag solution instead and eventually will retire the noTarget check completely

caewok commented 1 year ago

Added in v0.6.5.