mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 02:19:54 +02:00
* Initial * progress * Working armor application * . * Added a updateArmorValue function that updates armoreffects according to an auto order * . * Added createDialog * . * Updated Armor SRD * . * Fixed character sheet armor update * Updated itemconfig * Actions now use createDialog for effects * . * . * Fixed ArmorEffect max being a string * Fixed SRD armor effects * Finally finished the migration ._. * SRD finalization * Added ArmoreEffect.armorInteraction option * Added ArmorManagement menu * Fixed DamageReductionDialog * Fixed ArmorManagement pip syle * feat: add style to armors tooltip, add a style to make armor slot label more clear that was a button and add a tooltip location * . * Removed tooltip on manageArmor * Fixes * Fixed Downtime armor repair * Removed ArmorScore from character data model and instead adding it in basePrep * [Feature] ArmorEffect reworked into ChangeType on BaseEffect (#1739) * Initial * . * Single armor rework start * More fixes * Fixed DamageReductionDialog * Removed last traces of ArmorEffect * . * Corrected the SRD to use base effects again * Removed bare bones armor item * [V14] Refactor ArmorChange schema and fix some bugs (#1742) * Refactor ArmorChange schema and fix some bugs * Add current back to schema * Fixed so changing armor values and taking damage works again * Fixed so that scrolltexts for armor changes work again * Removed old marks on armor.system * Restored damageReductionDialog armorScore.value * Use toggle for css class addition/removal * Fix armor change type choices * Added ArmorChange DamageThresholds --------- Co-authored-by: WBHarry <williambjrklund@gmail.com> * [V14] Armor System ArmorScore (#1744) * Readded so that armor items have their system defined armor instead of using an ActiveEffect * Consolidate armor source retrieval * Fix regression with updating armor when sources are disabled * Simplify armor pip update * Use helper in damage reduction dialog * . * Corrected SRD Armor Items --------- Co-authored-by: Carlos Fernandez <cfern1990@gmail.com> * Updated migrations * Migrations are now not horrible =D --------- Co-authored-by: Murilo Brito <dev.murilobrito@gmail.com> Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com> Co-authored-by: Carlos Fernandez <cfern1990@gmail.com>
136 lines
5.2 KiB
JSON
136 lines
5.2 KiB
JSON
{
|
||
"name": "Armorer",
|
||
"img": "systems/daggerheart/assets/icons/domains/domain-card/valor.png",
|
||
"type": "domainCard",
|
||
"folder": "XDSp0FdiYDVO0tfw",
|
||
"system": {
|
||
"description": "<p class=\"Body-Foundation\">While you’re wearing armor, gain a +1 bonus to your Armor Score.</p><p class=\"Body-Foundation\">During a rest, when you choose to repair your armor as a downtime move, your allies also clear an Armor Slot.</p>",
|
||
"domain": "valor",
|
||
"recallCost": 1,
|
||
"level": 5,
|
||
"type": "ability",
|
||
"actions": {
|
||
"Z864RtY6fR5Cnrx9": {
|
||
"type": "healing",
|
||
"_id": "Z864RtY6fR5Cnrx9",
|
||
"systemPath": "actions",
|
||
"description": "<p class=\"Body-Foundation\">During a rest, when you choose to repair your armor as a downtime move, your allies also clear an Armor Slot.</p>",
|
||
"chatDisplay": true,
|
||
"actionType": "action",
|
||
"cost": [],
|
||
"uses": {
|
||
"value": null,
|
||
"max": "",
|
||
"recovery": null
|
||
},
|
||
"damage": {
|
||
"parts": {
|
||
"armor": {
|
||
"value": {
|
||
"custom": {
|
||
"enabled": true,
|
||
"formula": "1"
|
||
},
|
||
"multiplier": "prof",
|
||
"flatMultiplier": 1,
|
||
"dice": "d6",
|
||
"bonus": null
|
||
},
|
||
"applyTo": "armor",
|
||
"base": false,
|
||
"resultBased": false,
|
||
"valueAlt": {
|
||
"multiplier": "prof",
|
||
"flatMultiplier": 1,
|
||
"dice": "d6",
|
||
"bonus": null,
|
||
"custom": {
|
||
"enabled": false
|
||
}
|
||
},
|
||
"type": []
|
||
}
|
||
},
|
||
"includeBase": false
|
||
},
|
||
"target": {
|
||
"type": "friendly",
|
||
"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": "Repair Armor",
|
||
"img": "icons/tools/hand/hammer-and-nail.webp",
|
||
"range": ""
|
||
}
|
||
},
|
||
"attribution": {
|
||
"source": "Daggerheart SRD",
|
||
"page": 134,
|
||
"artist": ""
|
||
}
|
||
},
|
||
"flags": {},
|
||
"_id": "cy8GjBPGc9w9RaGO",
|
||
"sort": 3400000,
|
||
"effects": [
|
||
{
|
||
"name": "Armorer",
|
||
"type": "base",
|
||
"system": {
|
||
"changes": [
|
||
{
|
||
"type": "armor",
|
||
"phase": "initial",
|
||
"priority": 20,
|
||
"value": {
|
||
"max": "1",
|
||
"interaction": "active"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
"_id": "tJw2JIPcT9hEMRXg",
|
||
"img": "icons/tools/hand/hammer-and-nail.webp",
|
||
"disabled": false,
|
||
"duration": {
|
||
"value": null,
|
||
"units": "seconds",
|
||
"expiry": null,
|
||
"expired": false
|
||
},
|
||
"description": "<p><span style=\"color:rgb(239, 230, 216);font-family:Montserrat, sans-serif;font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;orphans:2;text-align:start;text-indent:0px;text-transform:none;widows:2;word-spacing:0px;-webkit-text-stroke-width:0px;white-space:normal;background-color:rgba(24, 22, 46, 0.376);text-decoration-thickness:initial;text-decoration-style:initial;text-decoration-color:initial;display:inline !important;float:none\">While you’re wearing armor, gain a +1 bonus to your </span><span style=\"box-sizing:border-box;scrollbar-width:thin;scrollbar-color:rgb(93, 20, 43) rgba(0, 0, 0, 0);color:rgb(239, 230, 216);font-family:Montserrat, sans-serif;font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;orphans:2;text-align:start;text-indent:0px;text-transform:none;widows:2;word-spacing:0px;-webkit-text-stroke-width:0px;white-space:normal;background-color:rgba(24, 22, 46, 0.376);text-decoration-thickness:initial;text-decoration-style:initial;text-decoration-color:initial\" class=\"tooltip-convert\">Armor Score</span><span style=\"color:rgb(239, 230, 216);font-family:Montserrat, sans-serif;font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;orphans:2;text-align:start;text-indent:0px;text-transform:none;widows:2;word-spacing:0px;-webkit-text-stroke-width:0px;white-space:normal;background-color:rgba(24, 22, 46, 0.376);text-decoration-thickness:initial;text-decoration-style:initial;text-decoration-color:initial;display:inline !important;float:none\">.</span></p>",
|
||
"origin": null,
|
||
"tint": "#ffffff",
|
||
"transfer": true,
|
||
"statuses": [],
|
||
"sort": 0,
|
||
"flags": {},
|
||
"_stats": {
|
||
"compendiumSource": null
|
||
},
|
||
"start": null,
|
||
"showIcon": 1,
|
||
"folder": null,
|
||
"_key": "!items.effects!cy8GjBPGc9w9RaGO.tJw2JIPcT9hEMRXg"
|
||
}
|
||
],
|
||
"ownership": {
|
||
"default": 0
|
||
},
|
||
"_key": "!items!cy8GjBPGc9w9RaGO"
|
||
}
|