Skip to content

Commit

Permalink
Merge pull request #1621 from crnormand/r0156
Browse files Browse the repository at this point in the history
Fix GCS import when melee has no level
  • Loading branch information
crnormand authored Sep 29, 2022
2 parents 4279af2 + 04cba9c commit 99bca74
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

If you can't access the Google doc, here is a [PDF](https://github.com/crnormand/gurps/raw/main/docs/Guide%20for%20GURPS%204e%20on%20Foundry%20VTT.pdf) of the latest version.

Release 0.15.6

- Fix GCS import when melee attack has no level.

Release 0.15.5 9/28/2022

- Fixed drag and drop items between non-GM characters
Expand Down
2 changes: 1 addition & 1 deletion module/actor/actor.js
Original file line number Diff line number Diff line change
Expand Up @@ -1849,7 +1849,7 @@ export class GurpsActor extends Actor {
if (!!m.notes && w.usage_notes) m.notes += '\n' + w.usage_notes
m.pageRef(i.reference || '')
m.mode = w.usage || ''
m.import = w.calc?.level.toString() || '0'
m.import = w.calc?.level?.toString() || '0'
m.damage = w.calc?.damage || ''
m.reach = w.reach || ''
m.parry = w.calc?.parry || ''
Expand Down

0 comments on commit 99bca74

Please sign in to comment.