- Add extractDamageDetails() function to parse damage type from message - Extract critical hit flags and nonlethal damage flags from options - Attempt to extract roll formula/breakdown from message.rolls - Store damage details in recentMessages queue for later matching - Add comprehensive console logging to inspect available message data This enables extraction of: - Damage types (Fire, Slashing, etc.) - Critical hit information - Nonlethal damage flags - Damage roll breakdown formulas Detailed logging will show what data is available in PF1 message objects for further refinement of extraction logic. Update version to 0.1.20 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
16 lines
448 B
JSON
16 lines
448 B
JSON
{
|
|
"id": "gowlers-tracking-ledger",
|
|
"type": "module",
|
|
"title": "Gowler's Tracking Ledger",
|
|
"description": "Adds HP/XP/Currency log buttons to PF1 sheets and opens the tracking dialog preloaded with the actor's logs.",
|
|
"version": "0.1.20",
|
|
"authors": [
|
|
{ "name": "Gowler", "url": "https://foundryvtt.com" }
|
|
],
|
|
"compatibility": {
|
|
"minimum": "11",
|
|
"verified": "11"
|
|
},
|
|
"scripts": ["scripts/gowlers-tracking-ledger.js"]
|
|
}
|