generated from League-of-Foundry-Developers/FoundryVTT-Module-Template
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
355 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,304 @@ | ||
export const example_msg = { | ||
"user": "J3oConv1eQRLao6j", | ||
"type": 5, | ||
"content": "8", | ||
"sound": "sounds/dice.wav", | ||
"speaker": { | ||
"scene": "lQkXSdxvO9CRxohD", | ||
"token": "dU9vPXfBrDzO2Cn5", | ||
"actor": "dSV36QRQvNR4pwkF", | ||
"alias": "Mirakk" | ||
}, | ||
"flavor": "<strong>Damage Roll: Beak</strong> (Hit)<div class=\"tags\"><span class=\"tag\" data-trait=\"attack\" data-description=\"PF2E.TraitDescriptionAttack\">Attack</span><hr class=\"vr\" /><span class=\"tag tag_alt\" data-trait=\"finesse\" data-description=\"PF2E.TraitDescriptionFinesse\">Finesse</span><span class=\"tag tag_alt\" data-trait=\"unarmed\" data-description=\"PF2E.TraitDescriptionUnarmed\">Unarmed</span></div><hr /><div class=\"tags\"><span class=\"tag tag_transparent\">1d6 Piercing</span><span class=\"tag tag_transparent\">Strength +2</span></div>", | ||
"flags": { | ||
"core": { | ||
"canPopout": true | ||
}, | ||
"pf2e": { | ||
"context": { | ||
"type": "damage-roll", | ||
"sourceType": "attack", | ||
"actor": "dSV36QRQvNR4pwkF", | ||
"token": "dU9vPXfBrDzO2Cn5", | ||
"target": { | ||
"actor": "Actor.nnav0XpUTVkI3bpI", | ||
"token": "Scene.lQkXSdxvO9CRxohD.Token.28jYopJkmUUEkviT" | ||
}, | ||
"domains": [ | ||
"drF7WOj3ddyS4i6z-damage", | ||
"beak-damage", | ||
"strike-damage", | ||
"damage", | ||
"unarmed-damage", | ||
"brawling-weapon-group-damage", | ||
"str-damage", | ||
"trained-damage" | ||
], | ||
"options": [ | ||
"armor:base:leather-armor", | ||
"armor:category:light", | ||
"armor:group:leather", | ||
"armor:id:a4DFvEM5cg0GDYtc", | ||
"attack", | ||
"attack:advanced:rank:0", | ||
"attack:martial:rank:1", | ||
"attack:simple:rank:1", | ||
"attack:unarmed:rank:1", | ||
"attribute:cha:mod:2", | ||
"attribute:con:mod:1", | ||
"attribute:dex:mod:4", | ||
"attribute:int:mod:0", | ||
"attribute:str:mod:2", | ||
"attribute:wis:mod:0", | ||
"check:outcome:success", | ||
"class:swashbuckler", | ||
"defense:heavy-barding:rank:0", | ||
"defense:heavy:rank:0", | ||
"defense:light-barding:rank:0", | ||
"defense:light:rank:1", | ||
"defense:medium:rank:0", | ||
"defense:unarmored:rank:1", | ||
"deity", | ||
"deity:primary:alignment:cn", | ||
"deity:primary:alignment:follower:ce", | ||
"deity:primary:alignment:follower:cg", | ||
"deity:primary:alignment:follower:cn", | ||
"deity:primary:favored-weapon:nine-ring-sword", | ||
"deity:primary:hei-feng", | ||
"feat:acrobat-dedication", | ||
"feat:assurance", | ||
"feat:goading-feint", | ||
"feat:lie-to-me", | ||
"feat:steady-balance", | ||
"feat:tengu-weapon-familiarity", | ||
"feat:tumble-behind-swashbuckler", | ||
"feature:confident-finisher", | ||
"feature:fencer", | ||
"feature:great-fortitude", | ||
"feature:low-light-vision", | ||
"feature:opportune-riposte", | ||
"feature:panache", | ||
"feature:precise-strike", | ||
"feature:sharp-beak", | ||
"feature:stylish-tricks", | ||
"feature:swashbucklers-style", | ||
"feature:vivacious-speed", | ||
"finesse", | ||
"first-weapon:chain-sword", | ||
"hands-free:0", | ||
"hands-free:but-really:0", | ||
"heritage:skyborn-tengu", | ||
"hp-percent:94", | ||
"item:beak", | ||
"item:bulk:light", | ||
"item:category:unarmed", | ||
"item:damage-dice:1", | ||
"item:damage:category:physical", | ||
"item:damage:die:faces:6", | ||
"item:damage:die:number:1", | ||
"item:damage:type:piercing", | ||
"item:equipped", | ||
"item:group:brawling", | ||
"item:hands-held:1", | ||
"item:id:drF7WOj3ddyS4i6z", | ||
"item:level:0", | ||
"item:melee", | ||
"item:proficiency:rank:1", | ||
"item:slug:beak", | ||
"item:trait:finesse", | ||
"item:trait:unarmed", | ||
"item:type:weapon", | ||
"item:usage:hands:1", | ||
"melee", | ||
"perception:rank:2", | ||
"proficiency:trained", | ||
"save:fortitude:rank:2", | ||
"save:reflex:rank:2", | ||
"save:will:rank:2", | ||
"self:ancestry:tengu", | ||
"self:armored", | ||
"self:caster", | ||
"self:creature", | ||
"self:deity:hei-feng", | ||
"self:effect:loaded-hand-crossbow-bolts", | ||
"self:effect:scouting", | ||
"self:effect:search", | ||
"self:heritage:skyborn-tengu", | ||
"self:level:3", | ||
"self:mode:living", | ||
"self:size:2", | ||
"self:size:medium", | ||
"self:trait:chaotic", | ||
"self:trait:good", | ||
"self:trait:humanoid", | ||
"self:trait:tengu", | ||
"self:type:character", | ||
"skill:acr:rank:2", | ||
"skill:arc:rank:0", | ||
"skill:ath:rank:1", | ||
"skill:cra:rank:0", | ||
"skill:dec:rank:1", | ||
"skill:dip:rank:1", | ||
"skill:itm:rank:0", | ||
"skill:med:rank:0", | ||
"skill:nat:rank:0", | ||
"skill:occ:rank:0", | ||
"skill:prf:rank:1", | ||
"skill:rank:1", | ||
"skill:rel:rank:0", | ||
"skill:soc:rank:0", | ||
"skill:ste:rank:1", | ||
"skill:sur:rank:0", | ||
"skill:thi:rank:1", | ||
"speed:land", | ||
"target", | ||
"target:ancestry:human", | ||
"target:caster", | ||
"target:creature", | ||
"target:deity:atheism", | ||
"target:distance:50", | ||
"target:effect:investigate", | ||
"target:effect:mage-armor", | ||
"target:effect:scouting", | ||
"target:has-familiar", | ||
"target:heritage:versatile-heritage", | ||
"target:level:3", | ||
"target:mode:living", | ||
"target:size:2", | ||
"target:size:medium", | ||
"target:trait:good", | ||
"target:trait:human", | ||
"target:trait:humanoid", | ||
"target:type:character", | ||
"unarmed" | ||
], | ||
"notes": [], | ||
"secret": false, | ||
"rollMode": "publicroll", | ||
"traits": [], | ||
"skipDialog": false, | ||
"outcome": "success", | ||
"unadjustedOutcome": null | ||
}, | ||
"target": { | ||
"actor": "Actor.nnav0XpUTVkI3bpI", | ||
"token": "Scene.lQkXSdxvO9CRxohD.Token.28jYopJkmUUEkviT" | ||
}, | ||
"modifiers": [ | ||
{ | ||
"slug": "str", | ||
"label": "Strength", | ||
"modifier": 2, | ||
"type": "ability", | ||
"ability": "str", | ||
"adjustments": [], | ||
"force": false, | ||
"enabled": true, | ||
"ignored": false, | ||
"source": null, | ||
"custom": false, | ||
"damageType": null, | ||
"damageCategory": null, | ||
"predicate": [], | ||
"critical": null, | ||
"traits": [], | ||
"notes": "", | ||
"hideIfDisabled": false, | ||
"kind": "modifier" | ||
}, | ||
{ | ||
"selector": "strike-damage", | ||
"slug": "finisher", | ||
"label": "Precise Strike", | ||
"diceNumber": 2, | ||
"dieSize": "d6", | ||
"critical": null, | ||
"category": "precision", | ||
"damageType": null, | ||
"override": null, | ||
"ignored": true, | ||
"enabled": false, | ||
"custom": false, | ||
"predicate": [ | ||
"class:swashbuckler", | ||
"self:effect:panache", | ||
"finisher", | ||
{ | ||
"or": [ | ||
"item:melee", | ||
{ | ||
"and": [ | ||
"feat:flying-blade", | ||
"item:thrown", | ||
"target:range-increment:1" | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"or": [ | ||
"item:trait:agile", | ||
"item:trait:finesse" | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"origin": { | ||
"uuid": "Actor.dSV36QRQvNR4pwkF.Item.drF7WOj3ddyS4i6z", | ||
"type": "weapon" | ||
}, | ||
"strike": { | ||
"actor": "Actor.dSV36QRQvNR4pwkF", | ||
"index": 2, | ||
"damaging": true, | ||
"name": "Beak", | ||
"altUsage": null | ||
}, | ||
"preformatted": "both" | ||
}, | ||
"df-chat-enhance": { | ||
"ChatTime": { | ||
"WorldTime": 3008721 | ||
} | ||
}, | ||
"pf2e-target-damage": { | ||
"targets": [ | ||
{ | ||
"id": "28jYopJkmUUEkviT", | ||
"tokenUuid": "Scene.lQkXSdxvO9CRxohD.Token.28jYopJkmUUEkviT", | ||
"actorUuid": "Actor.nnav0XpUTVkI3bpI" | ||
} | ||
] | ||
}, | ||
"pf2e-dorako-ui": { | ||
"userAvatar": { | ||
"name": "Mirakk", | ||
"image": "pics/Duck%20DM%20Closeup.webp", | ||
"type": "avatar" | ||
}, | ||
"combatantAvatar": null, | ||
"tokenAvatar": { | ||
"name": "Mirakk", | ||
"image": "tokenizer/pc-images/mirakk.Tokenn3D0XYnojhSAf5Sn.webp?1682362900010", | ||
"type": "token", | ||
"scale": 1, | ||
"isSmall": false | ||
}, | ||
"actorAvatar": { | ||
"name": "Mirakk", | ||
"image": "tokenizer/pc-images/mirakk.Avatarn3D0XYnojhSAf5Sn.webp?1682362900010", | ||
"type": "actor" | ||
}, | ||
"wasTokenHidden": false | ||
} | ||
}, | ||
"rolls": [ | ||
"{\"class\":\"DamageRoll\",\"options\":{\"rollerId\":\"J3oConv1eQRLao6j\",\"damage\":{\"name\":\"Damage Roll: Beak\",\"notes\":[],\"traits\":[\"attack\"],\"materials\":[],\"modifiers\":[{\"slug\":\"str\",\"label\":\"Strength\",\"modifier\":2,\"type\":\"ability\",\"ability\":\"str\",\"adjustments\":[],\"force\":false,\"enabled\":true,\"ignored\":false,\"source\":null,\"custom\":false,\"damageType\":null,\"damageCategory\":null,\"predicate\":[],\"critical\":null,\"traits\":[],\"notes\":\"\",\"hideIfDisabled\":false,\"kind\":\"modifier\"},{\"selector\":\"strike-damage\",\"slug\":\"finisher\",\"label\":\"Precise Strike\",\"diceNumber\":2,\"dieSize\":\"d6\",\"critical\":null,\"category\":\"precision\",\"damageType\":null,\"override\":null,\"ignored\":true,\"enabled\":false,\"custom\":false,\"predicate\":[\"class:swashbuckler\",\"self:effect:panache\",\"finisher\",{\"or\":[\"item:melee\",{\"and\":[\"feat:flying-blade\",\"item:thrown\",\"target:range-increment:1\"]}]},{\"or\":[\"item:trait:agile\",\"item:trait:finesse\"]}]}],\"domains\":[\"drF7WOj3ddyS4i6z-damage\",\"beak-damage\",\"strike-damage\",\"damage\",\"unarmed-damage\",\"brawling-weapon-group-damage\",\"str-damage\",\"trained-damage\"],\"damage\":{\"base\":[{\"diceNumber\":1,\"dieSize\":\"d6\",\"modifier\":0,\"damageType\":\"piercing\",\"category\":null,\"materials\":[]}],\"dice\":[{\"selector\":\"strike-damage\",\"slug\":\"finisher\",\"label\":\"Precise Strike\",\"diceNumber\":2,\"dieSize\":\"d6\",\"critical\":null,\"category\":\"precision\",\"damageType\":null,\"override\":null,\"ignored\":true,\"enabled\":false,\"custom\":false,\"predicate\":[\"class:swashbuckler\",\"self:effect:panache\",\"finisher\",{\"or\":[\"item:melee\",{\"and\":[\"feat:flying-blade\",\"item:thrown\",\"target:range-increment:1\"]}]},{\"or\":[\"item:trait:agile\",\"item:trait:finesse\"]}]}],\"modifiers\":[{\"slug\":\"str\",\"label\":\"Strength\",\"modifier\":2,\"type\":\"ability\",\"ability\":\"str\",\"adjustments\":[],\"force\":false,\"enabled\":true,\"ignored\":false,\"source\":null,\"custom\":false,\"damageType\":null,\"damageCategory\":null,\"predicate\":[],\"critical\":null,\"traits\":[],\"notes\":\"\",\"hideIfDisabled\":false,\"kind\":\"modifier\"},{\"slug\":\"precise-strike\",\"label\":\"Precise Strike\",\"modifier\":2,\"type\":\"untyped\",\"ability\":null,\"adjustments\":[],\"force\":false,\"enabled\":false,\"ignored\":true,\"source\":\"Actor.dSV36QRQvNR4pwkF.Item.hrqBQFNQSeziFd1h\",\"custom\":false,\"damageType\":null,\"damageCategory\":\"precision\",\"predicate\":[\"class:swashbuckler\",\"self:effect:panache\",{\"or\":[\"item:melee\",{\"and\":[\"feat:flying-blade\",\"item:thrown\",\"target:range-increment:1\"]}]},{\"or\":[\"item:trait:agile\",\"item:trait:finesse\"]},{\"not\":\"finisher\"}],\"critical\":null,\"traits\":[],\"notes\":\"\",\"hideIfDisabled\":false,\"kind\":\"modifier\"}],\"ignoredResistances\":[],\"formula\":{\"criticalFailure\":null,\"failure\":\"{1d6[piercing]}\",\"success\":\"{(1d6 + 2)[piercing]}\",\"criticalSuccess\":\"{(2 * (1d6 + 2))[piercing]}\"},\"breakdown\":{\"criticalFailure\":[],\"failure\":[\"1d6 Piercing\"],\"success\":[\"1d6 Piercing\",\"Strength +2\"],\"criticalSuccess\":[\"1d6 Piercing\",\"Strength +2\"]}}},\"degreeOfSuccess\":2,\"ignoredResistances\":[],\"critRule\":\"double-damage\"},\"dice\":[],\"formula\":\"{(1d6 + 2)[piercing]}\",\"terms\":[{\"class\":\"InstancePool\",\"options\":{},\"evaluated\":true,\"terms\":[\"(1d6 + 2)[piercing]\"],\"modifiers\":[],\"rolls\":[{\"class\":\"DamageInstance\",\"options\":{\"flavor\":\"piercing\",\"critRule\":\"double-damage\"},\"dice\":[],\"formula\":\"(1d6 + 2)[piercing]\",\"terms\":[{\"class\":\"Grouping\",\"options\":{\"flavor\":\"piercing\"},\"evaluated\":true,\"term\":{\"class\":\"ArithmeticExpression\",\"options\":{},\"evaluated\":true,\"operator\":\"+\",\"operands\":[{\"class\":\"Die\",\"options\":{},\"evaluated\":true,\"number\":1,\"faces\":6,\"modifiers\":[],\"results\":[{\"result\":6,\"active\":true}]},{\"class\":\"NumericTerm\",\"options\":{},\"evaluated\":true,\"number\":2}]}}],\"total\":8,\"evaluated\":true}],\"results\":[{\"result\":8,\"active\":true}]}],\"total\":8,\"evaluated\":true}" | ||
], | ||
"_id": "Uevu6l2qgptJdGoE", | ||
"timestamp": 1691043326733, | ||
"whisper": [], | ||
"blind": false, | ||
"emote": false | ||
} |
Oops, something went wrong.