{
  "folder": "KA1VSGslxkbvVeMp",
  "name": "Know the Tide",
  "type": "feature",
  "_id": "07x6Qe6qMzDw2xN4",
  "img": "icons/environment/wilderness/cave-entrance-island.webp",
  "system": {
    "description": "<p>You can sense the ebb and flow of life. When you roll with Fear, place a token on your community card. You can hold a number of tokens equal to your level. Before you make an action roll, you can spend any number of these tokens to gain a +1 bonus to the roll for each token spent. At the end of each session, clear all unspent tokens.</p>",
    "resource": {
      "type": "simple",
      "value": 0,
      "max": "@system.levelData.level.current",
      "icon": "fa-solid fa-water",
      "recovery": "session",
      "diceStates": {},
      "dieFaces": "d4"
    },
    "actions": {
      "tFlus34KotJjHfTe": {
        "type": "effect",
        "_id": "tFlus34KotJjHfTe",
        "systemPath": "actions",
        "baseAction": false,
        "description": "",
        "chatDisplay": true,
        "originItem": {
          "type": "itemCollection"
        },
        "actionType": "action",
        "triggers": [
          {
            "trigger": "fearRoll",
            "triggeringActorType": "self",
            "command": "const { max, value } = this.item.system.resource;\nconst maxValue = actor.system.levelData.level.current;\nconst afterUpdate = value+1;\nif (afterUpdate > maxValue) return;\n\nui.notifications.info(game.i18n.localize('DAGGERHEART.UI.Notifications.knowTheTide'));\nreturn { updates: [{\n  key: 'resource',\n  itemId: this.item.id,\n  target: this.item,\n  value: 1,\n}]};"
          }
        ],
        "cost": [],
        "uses": {
          "value": null,
          "max": "",
          "recovery": null,
          "consumeOnSuccess": false
        },
        "effects": [],
        "target": {
          "type": "any",
          "amount": null
        },
        "name": "Know The Tide",
        "range": ""
      }
    },
    "originItemType": null,
    "subType": null,
    "originId": null,
    "attribution": {
      "source": "Daggerheart SRD",
      "page": 33,
      "artist": ""
    }
  },
  "effects": [],
  "flags": {},
  "sort": 0,
  "ownership": {
    "default": 0,
    "Q9NoTaEarn3VMS6Z": 3
  },
  "_key": "!items!07x6Qe6qMzDw2xN4"
}
