Skip to content

Commit

Permalink
fix(pf2e mapping): comment out immunities and resistences (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Newquist authored Jan 17, 2023
1 parent ce28e18 commit 1e612a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mappings/pathfinder2e.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ Fixed for Foundry VTT 10 | PF2e system version: 4.2.2

/* RESISTANCES - IMMUNITIES - CONDITIONS - WEAKNESSES*/

{ "pdf": "Resistances_Immunities", "foundry": [@data.traits.dr.map(i => ' '+i.type +' '+ i.value), @data.traits.di.value.join(", "), @data.traits.di.custom].filter(x => String(x)).join(", ") },
/* { "pdf": "Resistances_Immunities", "foundry": [@data.traits.dr.map(i => ' '+i.type +' '+ i.value), @data.traits.di.value.join(", "), @data.traits.di.custom].filter(x => String(x)).join(", ") },
{ "pdf": "Conditions", "foundry": actor.data.items._source.filter(i => i.type === 'condition').map(i =>i.name).join(", ") },
{ "pdf": "Weaknesses", "foundry": 'W: ' + @data.traits.dv.map(i => ' '+i.type +' '+ i.value).join(", ") + '\n' + actor.data.items._source.filter(i => i.type === 'effect').map(i =>i.name).join(", ") },
{ "pdf": "Weaknesses", "foundry": 'W: ' + @data.traits.dv.map(i => ' '+i.type +' '+ i.value).join(", ") + '\n' + actor.data.items._source.filter(i => i.type === 'effect').map(i =>i.name).join(", ") }, */

/* SAVES */

Expand Down

0 comments on commit 1e612a3

Please sign in to comment.