Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix when flags are set for Personal Antithesis #239

Merged
merged 1 commit into from
Feb 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## [Unreleased]

## [0.19.4] - 2025-02-26

### Fixed

- Missed changing when flags were set for Personal Antithesis in 0.19.4, fixed this.

## [0.19.3] - 2025-02-25

### Fixed
Expand Down
6 changes: 3 additions & 3 deletions src/module/feats/exploit-vulnerability/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@ async function createPAOnActor(actor, target, rollDOS, data) {
targEffect.system.slug =
targEffect.system.slug + "-" + game.pf2e.system.sluggify(actor.name);

eff.flags["pf2e-thaum-vuln"] = { EffectOrigin: actor.uuid };
await createEffectOnTarget(actor, targEffect, evTargets);

await setEVFlags({
actor: actor,
targets: evTargets,
primary: target,
mode: evMode,
});

eff.flags["pf2e-thaum-vuln"] = { EffectOrigin: actor.uuid };
await createEffectOnTarget(actor, targEffect, evTargets);

await actor.createEmbeddedDocuments("Item", [eff]);
}

Expand Down