forked from foundryvtt/pf2e
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add avert gaze action object (foundryvtt#12547)
- Loading branch information
Showing
3 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"_id": "ZXUOdZqUW22OX3ge", | ||
"img": "icons/magic/perception/eye-ringed-glow-angry-small-red.webp", | ||
"name": "Effect: Avert Gaze", | ||
"system": { | ||
"description": { | ||
"value": "<p>You have averted your gaze from danger, such as a medusa's gaze. You gain a +2 circumstance bonus to saves against visual abilities that require you to look at a creature or object, such as a medusa's petrifying gaze.</p>" | ||
}, | ||
"duration": { | ||
"expiry": "turn-start", | ||
"sustained": false, | ||
"unit": "rounds", | ||
"value": 1 | ||
}, | ||
"level": { | ||
"value": 0 | ||
}, | ||
"publication": { | ||
"license": "OGL", | ||
"remaster": false, | ||
"title": "Pathfinder Core Rulebook" | ||
}, | ||
"rules": [ | ||
{ | ||
"key": "FlatModifier", | ||
"selector": "saving-throw", | ||
"value": 2, | ||
"type": "circumstance", | ||
"predicate": [ | ||
"visual" | ||
] | ||
} | ||
], | ||
"start": { | ||
"initiative": null, | ||
"value": 0 | ||
}, | ||
"tokenIcon": { | ||
"show": true | ||
}, | ||
"traits": { | ||
"rarity": "common", | ||
"value": [] | ||
} | ||
}, | ||
"type": "effect" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
src/module/system/action-macros/specialty-basic/avert-gaze.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { SimpleAction } from "@actor/actions/index.ts"; | ||
|
||
const avertGaze = new SimpleAction({ | ||
cost: 1, | ||
description: "PF2E.Actions.AvertGaze.Description", | ||
effect: "Compendium.pf2e.other-effects.ZXUOdZqUW22OX3ge", // Effect: Avert Gaze | ||
img: "icons/magic/perception/eye-ringed-glow-angry-small-red.webp", | ||
name: "PF2E.Actions.AvertGaze.Title", | ||
section: "basic", | ||
slug: "avert-gaze", | ||
}); | ||
|
||
export { avertGaze }; |