mr-ice / maptool-macros

place for maptool macros
2 stars 3 forks source link

Jerry's Initiative should get a proficiency bonus, not a misc. bonus #318

Closed trey-kirk-sp closed 3 years ago

trey-kirk-sp commented 3 years ago

https://www.dndbeyond.com/profile/Biliruben/characters/30957877

Jerry has the Gunslinger archetype which grants Quickdraw @ 7th level: When you reach 7th level, you add your proficiency bonus to your initiative. You can also stow a firearm, then draw another firearm as a single object interaction on your turn.

However, his init is read in as a straight +6 bonus:

{
  "bonus": 6,
  "proficiency": 0
}

Expected:

{
  "bonus": 0,
  "proficiency": 1
}

Since the calculation comes out the same, this is a minor issue. However, should the token's Proficiency property change, one expects the Initiative to change with it.

trey-kirk-sp commented 3 years ago

Once this is fixed, 'test/data/DNDB-Test/BaseToken30957877.rptok' should be updated