mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-08 13:48:11 +02:00
[Feature] Action Areas (#1815)
Some checks are pending
Project CI / build (24.x) (push) Waiting to run
Some checks are pending
Project CI / build (24.x) (push) Waiting to run
* Functioning setup * . * Fixes * Completed * Apply suggestions from code review Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com> * using function.call instead of function.bind * Run lint fix on action areas PR (#1820) * . * . * Restructured getTemplateShape to be a lot more readable * . * . * Changed from 'area' to 'areas' * . * Moved the areas button to the left * Fix regression with actions list * Updated all SRD adversaries --------- Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com> Co-authored-by: Carlos Fernandez <cfern1990@gmail.com>
This commit is contained in:
parent
646e0debbd
commit
3eda3c4c05
89 changed files with 1871 additions and 686 deletions
|
|
@ -132,12 +132,9 @@
|
|||
"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
|
||||
},
|
||||
|
|
@ -188,7 +185,7 @@
|
|||
"saturation": 0,
|
||||
"contrast": 0
|
||||
},
|
||||
"detectionModes": [],
|
||||
"detectionModes": {},
|
||||
"occludable": {
|
||||
"radius": 0
|
||||
},
|
||||
|
|
@ -214,7 +211,8 @@
|
|||
"flags": {},
|
||||
"randomImg": false,
|
||||
"appendNumber": false,
|
||||
"prependAdjective": false
|
||||
"prependAdjective": false,
|
||||
"depth": 1
|
||||
},
|
||||
"items": [
|
||||
{
|
||||
|
|
@ -352,7 +350,8 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"includeBase": false
|
||||
"includeBase": false,
|
||||
"groupAttack": ""
|
||||
},
|
||||
"target": {
|
||||
"type": "any",
|
||||
|
|
@ -381,7 +380,16 @@
|
|||
},
|
||||
"name": "Attack",
|
||||
"img": "icons/skills/melee/blood-slash-foam-red.webp",
|
||||
"range": "veryClose"
|
||||
"range": "veryClose",
|
||||
"areas": [
|
||||
{
|
||||
"name": "Spinning Serpent",
|
||||
"type": "placed",
|
||||
"shape": "emanation",
|
||||
"size": "veryClose",
|
||||
"effects": []
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"originItemType": null,
|
||||
|
|
@ -408,7 +416,7 @@
|
|||
"_id": "LR5XHauNtWcl18CY",
|
||||
"img": "icons/magic/acid/projectile-needles-salvo-green.webp",
|
||||
"system": {
|
||||
"description": "<p><strong>Spend a Fear</strong> to introduce a <strong>d6</strong> Spitter Die. When the @Lookup[@name] is in the spotlight, roll this die. On a result of 5 or higher, all targets in front of the @Lookup[@name] within Far range must succeed on an Agility Reaction Roll or take <strong>1d4</strong> physical damage. The @Lookup[@name] can take the spotlight a second time this GM turn.</p><p>@Template[type:inFront|range:f]</p>",
|
||||
"description": "<p><strong>Spend a Fear</strong> to introduce a <strong>d6</strong> Spitter Die. When the @Lookup[@name] is in the spotlight, roll this die. On a result of 5 or higher, all targets in front of the @Lookup[@name] within Far range must succeed on an Agility Reaction Roll or take <strong>1d4</strong> physical damage. The @Lookup[@name] can take the spotlight a second time this GM turn.</p>",
|
||||
"resource": null,
|
||||
"actions": {
|
||||
"yx5fjMLLwSnvSbqs": {
|
||||
|
|
@ -449,7 +457,7 @@
|
|||
"type": "attack",
|
||||
"_id": "Ds6KlQKZCOhh5OMT",
|
||||
"systemPath": "actions",
|
||||
"description": "<p>All targets in front of the @Lookup[@name] within Far range must succeed on an Agility Reaction Roll or take <strong>1d4</strong> physical damage.</p><p>@Template[type:inFront|range:f]</p>",
|
||||
"description": "<p>All targets in front of the @Lookup[@name] within Far range must succeed on an Agility Reaction Roll or take <strong>1d4</strong> physical damage.</p>",
|
||||
"chatDisplay": true,
|
||||
"actionType": "action",
|
||||
"cost": [],
|
||||
|
|
@ -487,7 +495,8 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"includeBase": false
|
||||
"includeBase": false,
|
||||
"groupAttack": ""
|
||||
},
|
||||
"target": {
|
||||
"type": "any",
|
||||
|
|
@ -516,7 +525,16 @@
|
|||
},
|
||||
"name": "Spit Attack",
|
||||
"img": "icons/magic/acid/projectile-needles-salvo-green.webp",
|
||||
"range": "far"
|
||||
"range": "far",
|
||||
"areas": [
|
||||
{
|
||||
"name": "Spitter",
|
||||
"type": "placed",
|
||||
"shape": "inFront",
|
||||
"size": "far",
|
||||
"effects": []
|
||||
}
|
||||
]
|
||||
},
|
||||
"xccwknU2xHUwQSdn": {
|
||||
"type": "attack",
|
||||
|
|
@ -584,18 +602,15 @@
|
|||
"type": "withinRange",
|
||||
"target": "hostile",
|
||||
"range": "melee"
|
||||
}
|
||||
},
|
||||
"changes": []
|
||||
},
|
||||
"changes": [],
|
||||
"disabled": false,
|
||||
"duration": {
|
||||
"startTime": null,
|
||||
"combat": null,
|
||||
"seconds": null,
|
||||
"rounds": null,
|
||||
"turns": null,
|
||||
"startRound": null,
|
||||
"startTurn": null
|
||||
"value": null,
|
||||
"units": "seconds",
|
||||
"expiry": null,
|
||||
"expired": false
|
||||
},
|
||||
"description": "<p>You have a <strong>d6</strong> Spitter Die. When the Snake is in the spotlight, roll this die. On a result of 5 or higher, all targets in front of the Snake within Far range must succeed on an Agility Reaction Roll or take <strong>1d4</strong> physical damage. The Snake can take the spotlight a second time this GM turn.</p>",
|
||||
"tint": "#ffffff",
|
||||
|
|
@ -605,6 +620,9 @@
|
|||
"_stats": {
|
||||
"compendiumSource": null
|
||||
},
|
||||
"start": null,
|
||||
"showIcon": 1,
|
||||
"folder": null,
|
||||
"_key": "!actors.items.effects!8KWVLWXFhlY2kYx0.LR5XHauNtWcl18CY.Mchd23xNQ4nSWw9X"
|
||||
}
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue