caewok / fvtt-token-cover

Alternative token cover for use with Foundry VTT
MIT License
4 stars 4 forks source link

Blocking wall cover is not being calculated correctly #33

Open Stonedtroll opened 2 months ago

Stonedtroll commented 2 months ago

It is possible to attack a target in the below scenario.

image

image

When MidiQOL is setting is changed to Centre + Level, the target is correctly blocked.

Alternate Token Cover 0.9.4 MidiQOL 11.6.12

Setting is default DND5e DMG

Could be related to issue #32

caewok commented 2 months ago

The wall doesn't look like it completely blocks the token, so it would depend on your Token Cover settings. What cover is reported? Any cover at all? And are there any errors in the browser console?

Stonedtroll commented 2 months ago

No cover is being reported. No error. If I Reset to 3D, everything works as expected. i.e. 3/4 cover.

Stonedtroll commented 2 months ago

If I only have ATC active and Reset to DND5e DMG, LOS is blocked.

caewok commented 2 months ago

Update to v0.9.6 and try this:

  1. Target the 3/4 hidden token, select the attacker. Go to the ATC Macro compendium and execute the "Measure Cover" macro. What does it say about the cover and the percent?
  2. Open the 3/4 hidden token character sheet. Target the 3/4 hidden token, select the attacker. In the effects tab of the sheet, do you see any cover effects appear when you have the attacker selected?
Stonedtroll commented 2 months ago

Updated to v.0.9.6

Cover icon now appears but calculation seems off. Wouldn't the skeleton get better cover? image

image

image

Stonedtroll commented 2 months ago

Moved down one square:

image

image

image