Adding direct damage to adversaries and environments (#1412)

This commit is contained in:
Nick Salyzyn 2025-12-13 08:24:22 -07:00 committed by GitHub
parent 6cb635901f
commit 315f1ef8e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 203 additions and 22 deletions

View file

@ -427,7 +427,8 @@
} }
} }
], ],
"includeBase": false "includeBase": false,
"direct": true
}, },
"target": { "target": {
"type": "any", "type": "any",

View file

@ -307,7 +307,8 @@
} }
} }
], ],
"includeBase": false "includeBase": false,
"direct": true
}, },
"target": { "target": {
"type": "any", "type": "any",
@ -319,7 +320,7 @@
"trait": null, "trait": null,
"difficulty": null, "difficulty": null,
"bonus": null, "bonus": null,
"advState": "neutral", "advState": "advantage",
"diceRolling": { "diceRolling": {
"multiplier": "prof", "multiplier": "prof",
"flatMultiplier": 1, "flatMultiplier": 1,

View file

@ -39,7 +39,8 @@
"experiences": { "experiences": {
"7GpgCWSe6hNwnOO7": { "7GpgCWSe6hNwnOO7": {
"name": "Throw", "name": "Throw",
"value": 2 "value": 2,
"description": ""
} }
}, },
"bonuses": { "bonuses": {
@ -105,7 +106,8 @@
}, },
"base": false "base": false
} }
] ],
"direct": true
}, },
"name": "Club", "name": "Club",
"img": "icons/weapons/clubs/club-banded-barbed-black.webp", "img": "icons/weapons/clubs/club-banded-barbed-black.webp",
@ -337,10 +339,11 @@
{ {
"value": { "value": {
"custom": { "custom": {
"enabled": false "enabled": false,
"formula": ""
}, },
"flatMultiplier": 1, "flatMultiplier": 1,
"dice": "d12", "dice": "d10",
"bonus": 2, "bonus": 2,
"multiplier": "flat" "multiplier": "flat"
}, },
@ -356,12 +359,14 @@
"dice": "d6", "dice": "d6",
"bonus": null, "bonus": null,
"custom": { "custom": {
"enabled": false "enabled": false,
"formula": ""
} }
} }
} }
], ],
"includeBase": false "includeBase": false,
"direct": true
}, },
"target": { "target": {
"type": "any", "type": "any",
@ -528,7 +533,8 @@
} }
} }
], ],
"includeBase": false "includeBase": false,
"direct": true
}, },
"target": { "target": {
"type": "any", "type": "any",

View file

@ -107,7 +107,8 @@
}, },
"base": false "base": false
} }
] ],
"direct": true
}, },
"img": "icons/magic/symbols/rune-sigil-rough-white-teal.webp", "img": "icons/magic/symbols/rune-sigil-rough-white-teal.webp",
"type": "attack", "type": "attack",

View file

@ -108,7 +108,8 @@
}, },
"base": false "base": false
} }
] ],
"direct": true
}, },
"type": "attack", "type": "attack",
"chatDisplay": false "chatDisplay": false
@ -358,7 +359,8 @@
} }
} }
], ],
"includeBase": false "includeBase": false,
"direct": true
}, },
"target": { "target": {
"type": "any", "type": "any",

View file

@ -377,7 +377,8 @@
} }
} }
], ],
"includeBase": false "includeBase": false,
"direct": true
}, },
"target": { "target": {
"type": "any", "type": "any",

View file

@ -233,7 +233,89 @@
"system": { "system": {
"description": "<p> The Assassin deals direct damage while theyre <em>Hidden</em>.</p>", "description": "<p> The Assassin deals direct damage while theyre <em>Hidden</em>.</p>",
"resource": null, "resource": null,
"actions": {}, "actions": {
"xFBE0jLf96fbCY7K": {
"type": "attack",
"_id": "xFBE0jLf96fbCY7K",
"systemPath": "actions",
"baseAction": false,
"description": "<p>The Assassin deals direct damage while theyre <em>Hidden</em>.</p>",
"chatDisplay": true,
"originItem": {
"type": "itemCollection"
},
"actionType": "action",
"cost": [],
"uses": {
"value": null,
"max": "",
"recovery": null,
"consumeOnSuccess": false
},
"damage": {
"parts": [
{
"value": {
"custom": {
"enabled": false,
"formula": ""
},
"flatMultiplier": 2,
"dice": "d10",
"bonus": 2,
"multiplier": "flat"
},
"applyTo": "hitPoints",
"type": [
"physical"
],
"base": false,
"resultBased": false,
"valueAlt": {
"multiplier": "prof",
"flatMultiplier": 1,
"dice": "d6",
"bonus": null,
"custom": {
"enabled": false,
"formula": ""
}
}
}
],
"includeBase": false,
"direct": true
},
"target": {
"type": "any",
"amount": null
},
"effects": [],
"roll": {
"type": "attack",
"trait": null,
"difficulty": null,
"bonus": null,
"advState": "neutral",
"diceRolling": {
"multiplier": "prof",
"flatMultiplier": 1,
"dice": "d6",
"compare": null,
"treshold": null
},
"useDefault": false
},
"save": {
"trait": null,
"difficulty": null,
"damageMod": "none"
},
"name": "Hidden attack",
"img": "icons/magic/perception/silhouette-stealth-shadow.webp",
"range": "close"
}
},
"originItemType": null, "originItemType": null,
"originId": null "originId": null
}, },

View file

@ -478,7 +478,8 @@
} }
} }
], ],
"includeBase": false "includeBase": false,
"direct": true
}, },
"target": { "target": {
"type": "any", "type": "any",

View file

@ -340,6 +340,87 @@
"name": "Curse", "name": "Curse",
"img": "icons/magic/unholy/hand-marked-pink.webp", "img": "icons/magic/unholy/hand-marked-pink.webp",
"range": "veryClose" "range": "veryClose"
},
"zLKfwa8a2YBRLKAF": {
"type": "attack",
"_id": "zLKfwa8a2YBRLKAF",
"systemPath": "actions",
"baseAction": false,
"description": "<p> Attacks made by the Hunter against a Deathlocked target deal direct damage.</p>",
"chatDisplay": true,
"originItem": {
"type": "itemCollection"
},
"actionType": "action",
"cost": [],
"uses": {
"value": null,
"max": "",
"recovery": null,
"consumeOnSuccess": false
},
"damage": {
"parts": [
{
"value": {
"custom": {
"enabled": false,
"formula": ""
},
"flatMultiplier": 2,
"dice": "d12",
"bonus": 1,
"multiplier": "flat"
},
"applyTo": "hitPoints",
"type": [
"physical"
],
"base": false,
"resultBased": false,
"valueAlt": {
"multiplier": "prof",
"flatMultiplier": 1,
"dice": "d6",
"bonus": null,
"custom": {
"enabled": false,
"formula": ""
}
}
}
],
"includeBase": false,
"direct": true
},
"target": {
"type": "any",
"amount": null
},
"effects": [],
"roll": {
"type": "attack",
"trait": null,
"difficulty": null,
"bonus": null,
"advState": "neutral",
"diceRolling": {
"multiplier": "prof",
"flatMultiplier": 1,
"dice": "d6",
"compare": null,
"treshold": null
},
"useDefault": false
},
"save": {
"trait": null,
"difficulty": null,
"damageMod": "none"
},
"name": "Deathlocked attack",
"img": "icons/magic/unholy/hand-marked-pink.webp",
"range": "veryClose"
} }
}, },
"originItemType": null, "originItemType": null,

View file

@ -312,9 +312,10 @@
{ {
"value": { "value": {
"custom": { "custom": {
"enabled": false "enabled": false,
"formula": ""
}, },
"flatMultiplier": 1, "flatMultiplier": 2,
"dice": "d6", "dice": "d6",
"bonus": 8, "bonus": 8,
"multiplier": "flat" "multiplier": "flat"
@ -331,12 +332,14 @@
"dice": "d6", "dice": "d6",
"bonus": null, "bonus": null,
"custom": { "custom": {
"enabled": false "enabled": false,
"formula": ""
} }
} }
} }
], ],
"includeBase": false "includeBase": false,
"direct": true
}, },
"target": { "target": {
"type": "any", "type": "any",

View file

@ -804,7 +804,8 @@
} }
} }
], ],
"includeBase": false "includeBase": false,
"direct": true
}, },
"target": { "target": {
"type": "any", "type": "any",

View file

@ -457,7 +457,8 @@
} }
} }
], ],
"includeBase": false "includeBase": false,
"direct": true
}, },
"target": { "target": {
"type": "any", "type": "any",