Skip to content

Commit

Permalink
Ability Improvements, Quotation Marks
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxPat931 authored Nov 14, 2023
1 parent e8734bb commit 19a401f
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions wiki/Modifying-Your-Game-with-Scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ Hooks.once("init", () => {
CONFIG.DND5E.abilities.grt = {
label: "Grit",
abbreviation: "grt",
type: "mental", ///mental or physical
defaults: {vehicle: 0} ///Optional
type: "mental", // mental or physical
defaults: {vehicle: 0}, // Optional
improvement: false, // Explicitly set this to 'false' to prevent it showing up for ASIs.
};
});
```
Expand Down Expand Up @@ -118,6 +119,8 @@ Hooks.once("init", () => {
}
};
});
```

## Add a new Armor Calculation
```js
/// Add a new AC Calculation
Expand Down Expand Up @@ -151,12 +154,12 @@ Hooks.once("init", () => {
```js
/// Adds in options to display in the Activation Cost dropdown
Hooks.once("init", () => {
CONFIG.DND5E.abilityActivationTypes.crithit = 'Critical Hit';
CONFIG.DND5E.abilityActivationTypes.attack = 'On Attack';
CONFIG.DND5E.abilityActivationTypes.attack = 'Replaces Attack';
CONFIG.DND5E.abilityActivationTypes.meleehit = 'On Melee Hit';
CONFIG.DND5E.abilityActivationTypes.rangedhit = 'On Ranged Hit';
CONFIG.DND5E.abilityActivationTypes.weaponhit = 'On Weapon Hit';
CONFIG.DND5E.abilityActivationTypes.crithit = "Critical Hit";
CONFIG.DND5E.abilityActivationTypes.attack = "On Attack";
CONFIG.DND5E.abilityActivationTypes.replaceattack = "Replaces Attack";
CONFIG.DND5E.abilityActivationTypes.meleehit = "On Melee Hit";
CONFIG.DND5E.abilityActivationTypes.rangedhit = "On Ranged Hit";
CONFIG.DND5E.abilityActivationTypes.weaponhit = "On Weapon Hit";
});
```

Expand Down

0 comments on commit 19a401f

Please sign in to comment.