Miskatonic-Investigative-Society / CoC7-FoundryVTT

An unofficial implementation of the Call of Cthulhu 7th Edition game system for Foundry Virtual Tabletop
https://discord.gg/foundryvtt
GNU General Public License v3.0
117 stars 98 forks source link

[Feature] Target selection on chatmessage by GM #438

Open Gorvaine opened 3 years ago

Gorvaine commented 3 years ago

The last issue for going full TotM is combat.

At the moment, combat needs a target, and the target is selected by token objective.

I suggest a hidden value on every combat card, Visible only for the GM, to choose targets between all the actors and so, once the actor is selected, the combat card con roll/opossed roll/damage cards.

The only downside I see with this approax is that this will reduce life and create wounds on actors, and not on tokens. But if you are playing TotM you are not using tokens, right?

HavlockV commented 3 years ago

Hi NeV3rKilL. Thanks for the suggestion. There are some small issues with that. The main issue is the way foundry handles 'synthetics' actors. When you create an actor, for example a cultist, and you don't link the data to the token every time you drop one of those on the table foundry creates a copy of that actor. When you target a token, it's the synthetic actor that is targeted not the original 'master' actor from your actors directory. This allows for dynamic creation of actors. This mechanics only happens when creating a token. The second one is the added complexity and dev time. Especially in case of multi target range combat. I am often playing TotM, what I personally do is I'm using a generic or even a black scene where I drop the tokens I am planing to use, with hidden visibility. This is a possible workaround. Nevertheless, I will let this open. Time depending I will try something. Maybe clicking on the target picture (mystery man) will allow for selection of an actor, with the limitation of using only non synthetics actors.