daggerheart/src/packs/adversaries/adversary_Pirate_Captain_OROJbjsqagVh7ECV.json
WBHarry d282a81594
[Feature] Summon Action Implementation (#1514)
* Schema definition for DHSummonAction

* Will reimplement

* HBS idea formed. Need to recheck drag drop implementation

* Tried to refine drag drop

* drag drop implemented (css tbd)

* phase 1 complete

* tbd work on summon action type

* Improved Schema and now it works

* .

* Dialog created. Tokens not dragged(tbd).

* Bare minimum implementation

* Finalized functionality

* Cleanup

* .

* Added optional summon render to chat message

* Updated SRD

* bugfix: fix title lines not rendering in chat messages

* Added summon actions to the easily doable environments in the SRD

* Update module/data/fields/action/summonField.mjs

Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>

---------

Co-authored-by: Nikhil Nagarajan <potter.nikhil@gmail.com>
Co-authored-by: Murilo Brito <dev.murilobrito@gmail.com>
Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
2026-01-13 10:36:29 +01:00

580 lines
15 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"name": "Pirate Captain",
"img": "systems/daggerheart/assets/icons/documents/actors/dragon-head.svg",
"type": "adversary",
"folder": "sxvlEwi25uAoB2C5",
"system": {
"difficulty": 14,
"damageThresholds": {
"major": 7,
"severe": 14
},
"resources": {
"hitPoints": {
"value": 0,
"max": 7,
"isReversed": true
},
"stress": {
"value": 0,
"max": 5,
"isReversed": true
}
},
"motivesAndTactics": "Command, make em walk the plank, plunder, raid",
"resistance": {
"physical": {
"resistance": false,
"immunity": false,
"reduction": 0
},
"magical": {
"resistance": false,
"immunity": false,
"reduction": 0
}
},
"type": "leader",
"notes": "",
"hordeHp": 1,
"experiences": {
"ndSzzasQ0JcMPJ6W": {
"name": "Commander",
"value": 2,
"description": ""
},
"N0jWLtKmD5Cy6CjY": {
"name": "Sailor",
"value": 3,
"description": ""
}
},
"bonuses": {
"roll": {
"attack": {
"bonus": 0,
"dice": []
},
"action": {
"bonus": 0,
"dice": []
},
"reaction": {
"bonus": 0,
"dice": []
}
},
"damage": {
"physical": {
"bonus": 0,
"dice": []
},
"magical": {
"bonus": 0,
"dice": []
}
}
},
"tier": 1,
"description": "<p>A charismatic sea dog with an impressive hat, eager to raid and plunder.</p>",
"attack": {
"name": "Cutlass",
"img": "icons/weapons/swords/scimitar-worn-blue.webp",
"roll": {
"bonus": 4,
"type": "attack"
},
"damage": {
"parts": [
{
"value": {
"custom": {
"enabled": false
},
"dice": "d12",
"bonus": 2,
"multiplier": "flat",
"flatMultiplier": 1
},
"applyTo": "hitPoints",
"type": [
"physical"
],
"resultBased": false,
"valueAlt": {
"multiplier": "prof",
"flatMultiplier": 1,
"dice": "d6",
"bonus": null,
"custom": {
"enabled": false
}
},
"base": false
}
]
},
"type": "attack",
"range": "melee",
"chatDisplay": false
},
"attribution": {
"source": "Daggerheart SRD",
"page": 81,
"artist": ""
},
"size": "medium"
},
"flags": {},
"_id": "OROJbjsqagVh7ECV",
"sort": 3200000,
"ownership": {
"default": 0,
"ei8OkswTzyDp4IGC": 3,
"WafZqd6qLGpBRGTt": 3
},
"prototypeToken": {
"name": "Pirate Captain",
"displayName": 0,
"actorLink": false,
"width": 1,
"height": 1,
"texture": {
"src": "systems/daggerheart/assets/icons/documents/actors/dragon-head.svg",
"anchorX": 0.5,
"anchorY": 0.5,
"offsetX": 0,
"offsetY": 0,
"fit": "contain",
"scaleX": 1,
"scaleY": 1,
"rotation": 0,
"tint": "#ffffff",
"alphaThreshold": 0.75
},
"lockRotation": false,
"rotation": 0,
"alpha": 1,
"disposition": -1,
"displayBars": 0,
"bar1": {
"attribute": "resources.hitPoints"
},
"bar2": {
"attribute": "resources.stress"
},
"light": {
"negative": false,
"priority": 0,
"alpha": 0.5,
"angle": 360,
"bright": 0,
"color": null,
"coloration": 1,
"dim": 0,
"attenuation": 0.5,
"luminosity": 0.5,
"saturation": 0,
"contrast": 0,
"shadows": 0,
"animation": {
"type": null,
"speed": 5,
"intensity": 5,
"reverse": false
},
"darkness": {
"min": 0,
"max": 1
}
},
"sight": {
"enabled": false,
"range": 0,
"angle": 360,
"visionMode": "basic",
"color": null,
"attenuation": 0.1,
"brightness": 0,
"saturation": 0,
"contrast": 0
},
"detectionModes": [],
"occludable": {
"radius": 0
},
"ring": {
"enabled": false,
"colors": {
"ring": null,
"background": null
},
"effects": 1,
"subject": {
"scale": 1,
"texture": null
}
},
"turnMarker": {
"mode": 1,
"animation": null,
"src": null,
"disposition": false
},
"movementAction": null,
"flags": {},
"randomImg": false,
"appendNumber": false,
"prependAdjective": false
},
"items": [
{
"name": "Swashbuckler",
"type": "feature",
"_id": "PsMA3x6giL8tixbf",
"img": "icons/magic/control/mouth-smile-deception-purple.webp",
"system": {
"description": "<p>When the @Lookup[@name] marks 2 or fewer HP from an attack within Melee range, the attacker must mark a Stress.</p>",
"resource": null,
"actions": {
"xYphrI8GtMHHuT9a": {
"type": "damage",
"_id": "xYphrI8GtMHHuT9a",
"systemPath": "actions",
"description": "",
"chatDisplay": true,
"actionType": "action",
"cost": [],
"uses": {
"value": null,
"max": "",
"recovery": null
},
"damage": {
"parts": [
{
"value": {
"custom": {
"enabled": true,
"formula": "1"
},
"multiplier": "flat",
"flatMultiplier": 1,
"dice": "d6",
"bonus": null
},
"applyTo": "stress",
"base": false,
"resultBased": false,
"valueAlt": {
"multiplier": "prof",
"flatMultiplier": 1,
"dice": "d6",
"bonus": null,
"custom": {
"enabled": false
}
},
"type": []
}
],
"includeBase": false
},
"target": {
"type": "any",
"amount": 1
},
"effects": [],
"name": "Damage Stress",
"img": "icons/magic/control/mouth-smile-deception-purple.webp",
"range": "melee"
}
},
"originItemType": null,
"subType": null,
"originId": null
},
"effects": [],
"folder": null,
"sort": 0,
"ownership": {
"default": 0,
"MQSznptE5yLT7kj8": 3
},
"flags": {},
"_stats": {
"compendiumSource": null
},
"_key": "!actors.items!OROJbjsqagVh7ECV.PsMA3x6giL8tixbf"
},
{
"name": "Reinforcements",
"type": "feature",
"_id": "WGEGO0DSOs5cF0EL",
"img": "icons/environment/people/charge.webp",
"system": {
"description": "<p>Once per scene, <strong>mark a Stress</strong> to summon a @UUID[Compendium.daggerheart.adversaries.Actor.5YgEajn0wa4i85kC]{Pirate Raider Horde}, which appears at Far range.</p>",
"resource": null,
"actions": {
"nuYk5WeLLpIKa69q": {
"type": "summon",
"_id": "nuYk5WeLLpIKa69q",
"systemPath": "actions",
"baseAction": false,
"description": "",
"chatDisplay": true,
"originItem": {
"type": "itemCollection"
},
"actionType": "action",
"cost": [
{
"scalable": false,
"key": "stress",
"value": 1,
"itemId": null,
"step": null,
"consumeOnSuccess": false
}
],
"uses": {
"value": null,
"max": "",
"recovery": null,
"consumeOnSuccess": false
},
"summon": [
{
"actorUUID": "Compendium.daggerheart.adversaries.Actor.5YgEajn0wa4i85kC",
"count": "1"
}
],
"name": "Mark Stress",
"range": ""
}
},
"originItemType": null,
"subType": null,
"originId": null,
"featureForm": "action"
},
"effects": [],
"folder": null,
"sort": 0,
"ownership": {
"default": 0,
"MQSznptE5yLT7kj8": 3
},
"flags": {},
"_stats": {
"compendiumSource": null
},
"_key": "!actors.items!OROJbjsqagVh7ECV.WGEGO0DSOs5cF0EL"
},
{
"name": "No Quarter",
"type": "feature",
"_id": "brHnMc0TDiWVT4U6",
"img": "icons/magic/death/skull-energy-light-purple.webp",
"system": {
"description": "<p><strong>Spend a Fear</strong> to choose a target who has three or more Pirates within Melee range of them. The @Lookup[@name] leads the Pirates in hurling threats and promises of a watery grave. The target must make a Presence Reaction Roll. On a failure, the target marks <strong>1d4+1</strong> Stress. On a success, they must mark a Stress.</p>",
"resource": null,
"actions": {
"h2vM7jDTeFttVJKN": {
"type": "attack",
"_id": "h2vM7jDTeFttVJKN",
"systemPath": "actions",
"description": "",
"chatDisplay": true,
"actionType": "action",
"cost": [
{
"scalable": false,
"key": "fear",
"value": 1,
"step": null
}
],
"uses": {
"value": null,
"max": "",
"recovery": null
},
"damage": {
"parts": [
{
"value": {
"custom": {
"enabled": false
},
"flatMultiplier": 1,
"dice": "d4",
"bonus": 1,
"multiplier": "flat"
},
"applyTo": "stress",
"type": [],
"base": false,
"resultBased": false,
"valueAlt": {
"multiplier": "prof",
"flatMultiplier": 1,
"dice": "d6",
"bonus": null,
"custom": {
"enabled": false
}
}
}
],
"includeBase": false
},
"target": {
"type": "any",
"amount": null
},
"effects": [],
"roll": {
"type": null,
"trait": null,
"difficulty": null,
"bonus": null,
"advState": "neutral",
"diceRolling": {
"multiplier": "prof",
"flatMultiplier": 1,
"dice": "d6",
"compare": null,
"treshold": null
},
"useDefault": false
},
"save": {
"trait": "presence",
"difficulty": null,
"damageMod": "none"
},
"name": "Spend Fear",
"img": "icons/magic/death/skull-energy-light-purple.webp",
"range": ""
}
},
"originItemType": null,
"subType": null,
"originId": null,
"featureForm": "action"
},
"effects": [],
"folder": null,
"sort": 0,
"ownership": {
"default": 0,
"MQSznptE5yLT7kj8": 3
},
"flags": {},
"_stats": {
"compendiumSource": null
},
"_key": "!actors.items!OROJbjsqagVh7ECV.brHnMc0TDiWVT4U6"
},
{
"name": "Momentum",
"type": "feature",
"_id": "V4EcsqMd70BTrDNu",
"img": "icons/skills/melee/strike-weapons-orange.webp",
"system": {
"description": "<p>When the @Lookup[@name] makes a successful attack against a PC, you gain a Fear.</p>",
"resource": null,
"actions": {
"78Qphxjbs7cOYsNf": {
"type": "healing",
"_id": "78Qphxjbs7cOYsNf",
"systemPath": "actions",
"description": "",
"chatDisplay": true,
"actionType": "action",
"cost": [],
"uses": {
"value": null,
"max": "",
"recovery": null,
"consumeOnSuccess": false
},
"damage": {
"parts": [
{
"value": {
"custom": {
"enabled": true,
"formula": "1"
},
"multiplier": "flat",
"flatMultiplier": 1,
"dice": "d6",
"bonus": null
},
"applyTo": "fear",
"base": false,
"resultBased": false,
"valueAlt": {
"multiplier": "prof",
"flatMultiplier": 1,
"dice": "d6",
"bonus": null,
"custom": {
"enabled": false,
"formula": ""
}
},
"type": []
}
],
"includeBase": false
},
"target": {
"type": "any",
"amount": null
},
"effects": [],
"roll": {
"type": null,
"trait": null,
"difficulty": null,
"bonus": null,
"advState": "neutral",
"diceRolling": {
"multiplier": "prof",
"flatMultiplier": 1,
"dice": "d6",
"compare": null,
"treshold": null
},
"useDefault": false
},
"name": "Gain Fear",
"img": "icons/skills/melee/strike-weapons-orange.webp",
"range": ""
}
},
"originItemType": null,
"subType": null,
"originId": null,
"featureForm": "reaction"
},
"effects": [],
"folder": null,
"sort": 0,
"ownership": {
"default": 0,
"MQSznptE5yLT7kj8": 3
},
"flags": {},
"_stats": {
"compendiumSource": null
},
"_key": "!actors.items!OROJbjsqagVh7ECV.V4EcsqMd70BTrDNu"
}
],
"effects": [],
"_key": "!actors!OROJbjsqagVh7ECV"
}