add judgement power effect

This commit is contained in:
Mike Bloy 2024-06-18 10:49:37 -05:00
parent b1a128b692
commit f9824ad02e
18 changed files with 232 additions and 41 deletions

View File

@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [3.0.1] 2024-06-18
### Added
- Added Inquisitor's Judgement power effect
## [3.0.0] 2024-06-12
### Added

View File

@ -0,0 +1,47 @@
import { PowerEffect } from './basePowers.js';
export class InquisitorJudgementEffect extends PowerEffect {
get name() {
return 'Judgement';
}
get duration() {
return 0;
}
get icon() {
return 'icons/skills/social/trading-justice-scale-yellow.webp';
}
get isTargeted() {
return true;
}
get oneTarget() {
return true;
}
get modifiers() {
return [];
}
get effectName() {
return `${this.source.name}'s Judgement`;
}
get isRaisable() {
return false;
}
get description() {
return `${super.description}
<p>
Once per encounter as a free action, the inquisitor can pronounce judgment
on an enemy to gain five Judgment Tokens. A single token may be spent to
add +2 to a Trait or damage roll she makes against the judged, or 2 to one
of the foe's Trait or damage rolls. Judgment Tokens may be spent after the
roll, and remain in effect if the original total is rerolled.
</p>
`;
}
}

View File

@ -74,6 +74,7 @@ import { WallWalkerEffect } from './wallWalker.js';
import { MartialFlexibilityEffect, WarriorsGiftEffect } from './warriorsGift.js';
import { WishEffect } from './wish.js';
import { ZombieEffect } from './zombie.js';
import { InquisitorJudgementEffect } from './inquisitor.js';
const PowerClasses = {
'arcane-protection': ArcaneProtectionEffect,
@ -120,6 +121,7 @@ const PowerClasses = {
illusion: IllusionEffect,
intangibility: IntangibilityEffect,
invisibility: InvisibliltyEffect,
judgement: InquisitorJudgementEffect,
'light-darkness': LightDarknessEffect,
lightdarkness: LightDarknessEffect,
light: LightDarknessEffect,

Binary file not shown.

View File

@ -1,5 +1,5 @@
2024/06/11-22:50:16.309680 7f32aafbf700 Delete type=3 #1
2024/06/11-22:50:16.312315 7f32a8fbb700 Level-0 table #5: started
2024/06/11-22:50:16.320019 7f32a8fbb700 Level-0 table #5: 16748 bytes OK
2024/06/11-22:50:16.329153 7f32a8fbb700 Delete type=0 #3
2024/06/11-22:50:16.329270 7f32a8fbb700 Manual compaction at level-0 from '!folders!0nDRFmMBs5DBJU9M' @ 72057594037927935 : 1 .. '!items.effects!RC1Nz6iph8wPPK1B.g9W5hJisq3MsCpZW' @ 0 : 0; will stop at (end)
2024/06/18-10:41:57.594700 7526dca00640 Delete type=3 #1
2024/06/18-10:41:57.597427 7526db000640 Level-0 table #5: started
2024/06/18-10:41:57.598484 7526db000640 Level-0 table #5: 17134 bytes OK
2024/06/18-10:41:57.599441 7526db000640 Delete type=0 #3
2024/06/18-10:41:57.599672 7526db000640 Manual compaction at level-0 from '!folders!0nDRFmMBs5DBJU9M' @ 72057594037927935 : 1 .. '!items.effects!RC1Nz6iph8wPPK1B.g9W5hJisq3MsCpZW' @ 0 : 0; will stop at (end)

View File

@ -1,5 +1,5 @@
2024/06/11-22:50:16.454286 7f9e017be700 Delete type=3 #1
2024/06/11-22:50:16.456570 7f9dffd40700 Level-0 table #5: started
2024/06/11-22:50:16.464132 7f9dffd40700 Level-0 table #5: 6787 bytes OK
2024/06/11-22:50:16.473150 7f9dffd40700 Delete type=0 #3
2024/06/11-22:50:16.473564 7f9dffd40700 Manual compaction at level-0 from '!items!JWyBQe4tnOYljFAF' @ 72057594037927935 : 1 .. '!items!tWWSfEMmLmws6Yb1' @ 0 : 0; will stop at (end)
2024/06/18-10:41:57.680100 70f947600640 Delete type=3 #1
2024/06/18-10:41:57.682228 70f946c00640 Level-0 table #5: started
2024/06/18-10:41:57.683460 70f946c00640 Level-0 table #5: 6787 bytes OK
2024/06/18-10:41:57.684707 70f946c00640 Delete type=0 #3
2024/06/18-10:41:57.684956 70f946c00640 Manual compaction at level-0 from '!items!JWyBQe4tnOYljFAF' @ 72057594037927935 : 1 .. '!items!tWWSfEMmLmws6Yb1' @ 0 : 0; will stop at (end)

View File

@ -1,5 +1,5 @@
2024/06/11-22:50:16.595940 7f60bf7bf700 Delete type=3 #1
2024/06/11-22:50:16.598498 7f60bd540700 Level-0 table #5: started
2024/06/11-22:50:16.605689 7f60bd540700 Level-0 table #5: 1751 bytes OK
2024/06/11-22:50:16.614754 7f60bd540700 Delete type=0 #3
2024/06/11-22:50:16.614860 7f60bd540700 Manual compaction at level-0 from '!actors!U5v4gFHquo0Y1SAq' @ 72057594037927935 : 1 .. '!actors!U5v4gFHquo0Y1SAq' @ 0 : 0; will stop at (end)
2024/06/18-10:41:57.762408 7f3ebe800640 Delete type=3 #1
2024/06/18-10:41:57.765316 7f3ebd800640 Level-0 table #5: started
2024/06/18-10:41:57.766837 7f3ebd800640 Level-0 table #5: 1751 bytes OK
2024/06/18-10:41:57.768732 7f3ebd800640 Delete type=0 #3
2024/06/18-10:41:57.769025 7f3ebd800640 Manual compaction at level-0 from '!actors!U5v4gFHquo0Y1SAq' @ 72057594037927935 : 1 .. '!actors!U5v4gFHquo0Y1SAq' @ 0 : 0; will stop at (end)

View File

@ -1,5 +1,5 @@
2024/06/11-22:50:16.745714 7f8e367bd700 Delete type=3 #1
2024/06/11-22:50:16.747982 7f8e35540700 Level-0 table #5: started
2024/06/11-22:50:16.755348 7f8e35540700 Level-0 table #5: 20105 bytes OK
2024/06/11-22:50:16.764437 7f8e35540700 Delete type=0 #3
2024/06/11-22:50:16.764544 7f8e35540700 Manual compaction at level-0 from '!folders!8FWN37c0gcpAisAv' @ 72057594037927935 : 1 .. '!macros!ypFtlnrgQkzqLpxI' @ 0 : 0; will stop at (end)
2024/06/18-10:41:57.843986 725194a00640 Delete type=3 #1
2024/06/18-10:41:57.846307 72518f800640 Level-0 table #5: started
2024/06/18-10:41:57.847516 72518f800640 Level-0 table #5: 20105 bytes OK
2024/06/18-10:41:57.848771 72518f800640 Delete type=0 #3
2024/06/18-10:41:57.848911 72518f800640 Manual compaction at level-0 from '!folders!8FWN37c0gcpAisAv' @ 72057594037927935 : 1 .. '!macros!ypFtlnrgQkzqLpxI' @ 0 : 0; will stop at (end)

View File

@ -1,5 +1,5 @@
2024/06/11-22:50:16.890031 7f7e97fff700 Delete type=3 #1
2024/06/11-22:50:16.892507 7f7e96ffd700 Level-0 table #5: started
2024/06/11-22:50:16.900259 7f7e96ffd700 Level-0 table #5: 20877 bytes OK
2024/06/11-22:50:16.909263 7f7e96ffd700 Delete type=0 #3
2024/06/11-22:50:16.909384 7f7e96ffd700 Manual compaction at level-0 from '!journal!HbtPlHNFO1L6RVj0' @ 72057594037927935 : 1 .. '!journal.pages!w4TImRTAiNiqDWeL.vQhO6BVdKZOubTUQ' @ 0 : 0; will stop at (end)
2024/06/18-10:41:57.926511 710681e00640 Delete type=3 #1
2024/06/18-10:41:57.929373 710680a00640 Level-0 table #5: started
2024/06/18-10:41:57.930861 710680a00640 Level-0 table #5: 20877 bytes OK
2024/06/18-10:41:57.932097 710680a00640 Delete type=0 #3
2024/06/18-10:41:57.932311 710680a00640 Manual compaction at level-0 from '!journal!HbtPlHNFO1L6RVj0' @ 72057594037927935 : 1 .. '!journal.pages!w4TImRTAiNiqDWeL.vQhO6BVdKZOubTUQ' @ 0 : 0; will stop at (end)

View File

@ -0,0 +1,19 @@
{
"name": "Alchemist",
"sorting": "a",
"folder": "rXqlP1phfPHNZrRT",
"type": "Item",
"_id": "OTbSuJ4VarQo77I2",
"sort": 0,
"color": null,
"flags": {},
"_stats": {
"systemId": null,
"systemVersion": null,
"coreVersion": null,
"createdTime": null,
"modifiedTime": null,
"lastModifiedBy": null
},
"_key": "!folders!OTbSuJ4VarQo77I2"
}

View File

@ -0,0 +1,19 @@
{
"name": "Fighter",
"sorting": "a",
"folder": "rXqlP1phfPHNZrRT",
"type": "Item",
"_id": "IcYrCFJz7zmxz8dz",
"sort": 0,
"color": null,
"flags": {},
"_stats": {
"systemId": null,
"systemVersion": null,
"coreVersion": null,
"createdTime": null,
"modifiedTime": null,
"lastModifiedBy": null
},
"_key": "!folders!IcYrCFJz7zmxz8dz"
}

View File

@ -144,13 +144,13 @@
},
"_stats": {
"systemId": "swade",
"systemVersion": "3.2.5",
"systemVersion": "3.4.1",
"coreVersion": "11.315",
"createdTime": 1702939897892,
"modifiedTime": 1702960438222,
"lastModifiedBy": "sVoCvBU1knmXzoYe"
"modifiedTime": 1718722764722,
"lastModifiedBy": "JYfESJbwMlpOqKeR"
},
"_id": "RC1Nz6iph8wPPK1B",
"sort": 0,
"sort": 300000,
"_key": "!items!RC1Nz6iph8wPPK1B"
}

View File

@ -0,0 +1,19 @@
{
"name": "Inquisitor",
"sorting": "a",
"folder": "rXqlP1phfPHNZrRT",
"type": "Item",
"_id": "LxSZkrG5G1sgcZBL",
"sort": 0,
"color": null,
"flags": {},
"_stats": {
"systemId": null,
"systemVersion": null,
"coreVersion": null,
"createdTime": null,
"modifiedTime": null,
"lastModifiedBy": null
},
"_key": "!folders!LxSZkrG5G1sgcZBL"
}

View File

@ -0,0 +1,79 @@
{
"folder": "rXqlP1phfPHNZrRT",
"name": "Judgement",
"type": "action",
"_id": "0EGHajx0f3pW6Dw7",
"img": "icons/skills/social/trading-justice-scale-gold.webp",
"system": {
"description": "<p>Once per encounter as a free action, the inquisitor can pronounce judgment on an enemy to gain five Judgment Tokens. A single token may be spent to add +2 to a Trait or damage roll she makes against the judged, or 2 to one of the foe's Trait or damage rolls. Judgment Tokens may be spent after the roll, and remain in effect if the original total is rerolled.</p>",
"notes": "",
"source": "",
"swid": "judgement",
"additionalStats": {},
"favorite": false,
"category": "Savage Pathfinder (Inquisitor)",
"templates": {
"cone": false,
"stream": false,
"small": false,
"medium": false,
"large": false
},
"actions": {
"trait": "",
"traitMod": "",
"dmgMod": "",
"additional": {
"E4Pbzvi0": {
"name": "Effect",
"type": "macro",
"dice": null,
"resourcesUsed": null,
"modifier": "",
"override": "",
"uuid": "Compendium.swade-mb-helpers.helper-macros.Macro.AjuA11hQ48UJNwlH",
"macroActor": "self",
"isHeavyWeapon": false
}
}
},
"choiceSets": []
},
"effects": [],
"sort": 0,
"ownership": {
"default": 0,
"JYfESJbwMlpOqKeR": 3
},
"flags": {
"swade": {
"auras": {
"aura1": {
"enabled": false,
"walls": false,
"radius": null,
"color": "",
"alpha": 0.5,
"visibleTo": []
},
"aura2": {
"enabled": false,
"walls": false,
"radius": null,
"color": "",
"alpha": 0.5,
"visibleTo": []
}
}
}
},
"_stats": {
"systemId": "swade",
"systemVersion": "3.4.1",
"coreVersion": "11.315",
"createdTime": 1718722827481,
"modifiedTime": 1718724406964,
"lastModifiedBy": "JYfESJbwMlpOqKeR"
},
"_key": "!items!0EGHajx0f3pW6Dw7"
}

View File

@ -1,7 +1,7 @@
{
"name": "Martial Flexibility",
"type": "action",
"folder": "rXqlP1phfPHNZrRT",
"folder": null,
"_id": "36zTIOZG80Adi4wj",
"img": "icons/skills/melee/maneuver-sword-katana-yellow.webp",
"system": {
@ -40,7 +40,7 @@
"choiceSets": []
},
"effects": [],
"sort": 0,
"sort": 500000,
"ownership": {
"default": 0,
"sVoCvBU1knmXzoYe": 3
@ -51,8 +51,8 @@
"systemVersion": "3.4.1",
"coreVersion": "11.315",
"createdTime": 1718079886856,
"modifiedTime": 1718080020636,
"lastModifiedBy": "sVoCvBU1knmXzoYe"
"modifiedTime": 1718722773985,
"lastModifiedBy": "JYfESJbwMlpOqKeR"
},
"_key": "!items!36zTIOZG80Adi4wj"
}

View File

@ -272,13 +272,13 @@
},
"_stats": {
"systemId": "swade",
"systemVersion": "3.3.11",
"systemVersion": "3.4.1",
"coreVersion": "11.315",
"createdTime": 1706157319122,
"modifiedTime": 1715483766063,
"lastModifiedBy": "sVoCvBU1knmXzoYe"
"modifiedTime": 1718722764722,
"lastModifiedBy": "JYfESJbwMlpOqKeR"
},
"_id": "CLRtXyFT2whk6FkQ",
"sort": 0,
"sort": 200000,
"_key": "!items!CLRtXyFT2whk6FkQ"
}

View File

@ -47,13 +47,13 @@
},
"_stats": {
"systemId": "swade",
"systemVersion": "3.2.5",
"systemVersion": "3.4.1",
"coreVersion": "11.315",
"createdTime": 1695081676167,
"modifiedTime": 1705985534930,
"lastModifiedBy": "Aqnn9hCDQPbyTWiq"
"modifiedTime": 1718722764722,
"lastModifiedBy": "JYfESJbwMlpOqKeR"
},
"_id": "vrfo9zsECbxan4dt",
"sort": 100000,
"sort": 400000,
"_key": "!items!vrfo9zsECbxan4dt"
}