Skip to content

Updated all sheets and logic to work with FVTT v10.

Ian Dominey requested to merge MrReasonable/mta:v10-compat into progress

I updated FoundryVTT to v10 and the CoD stuff completely broke. I took it on myself to fix as much as I could.

I think I've gotten all of the character sheets upgraded and systems upgraded but this will need more thorough testing than just the time I've sunk into it. At the least, if this is merged sooner rather than later, it'll make the majority of the system work on v10 and further issues can be raised if people using it run into problems.

I moved the token.prototype code out of mta.js and setup a new Token class. However, I'm unsure what the _drawEffects code is meant to do. I do know that this method no longer exists in v10 and when I tried to refactor it to work with v10, I realised that it uses attributes and methods that no longer exist, have moved or have changed their signature.

I also think it'd be nice to refactor the code somewhat to

  1. Drop using JQuery and use native DOM APIs instead
  2. Ditch the use of MtA as an acronym and replace with CoD where it exists. I assume this is there due to historical reasons.

Fixes #204 (closed) and #203 (closed) .

Edited by Ian Dominey

Merge request reports