feat(gowlers-tracking-ledger): add damage detail extraction for type and breakdown
- 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>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"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.19",
|
||||
"version": "0.1.20",
|
||||
"authors": [
|
||||
{ "name": "Gowler", "url": "https://foundryvtt.com" }
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user