Skip to content

Commit

Permalink
Merge pull request dmdorman#1550 from aeauseth/main
Browse files Browse the repository at this point in the history
Publish 4.0.10
  • Loading branch information
aeauseth authored Nov 29, 2024
2 parents e4fe796 + 5282e12 commit b0f7f3d
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 26 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Releases

## Version 4.0.9 [Hero System 6e (Unofficial) v2](https://github.com/dmdorman/hero6e-foundryvtt)
## Version 4.0.10 [Hero System 6e (Unofficial) v2](https://github.com/dmdorman/hero6e-foundryvtt)

- Fix migration SETANDBRACE warning.

## Version 4.0.9

- Fixed missing cost for NIGHTVISION and other enhanced visions. [#1520](https://github.com/dmdorman/hero6e-foundryvtt/issues/1520)
- DARKNESS now has an implied AOE for targeting purposes. [#1503](https://github.com/dmdorman/hero6e-foundryvtt/issues/1503)
Expand Down
47 changes: 24 additions & 23 deletions module/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1497,29 +1497,30 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
{},
);
// Do we really need this? Why not just check SET and BRACE?
// addPower(
// {
// key: "SETANDBRACE",
// type: ["maneuver"],
// behaviors: ["non-hd"],
// name: "Set And Brace",
// costPerLevel: costPerLevelFixedValue(0),
// perceivability: "obvious",
// duration: "instant",
// range: HERO.RANGE_TYPES.SELF,
// costEnd: false,
// target: "target's dcv",
// ignoreFor: ["base2", "computer", "ai"],
// maneuverDesc: {
// phase: "1",
// ocv: "+3",
// dcv: "1/2",
// effects: "Take extra time to aim a Ranged attack at a target, +2 OCV only to offset the Range Modifier",
// attack: false,
// },
// },
// {},
// );
// If removed the migrations will generate a warning because SETANDBRACE is no longer defined.
addPower(
{
key: "SETANDBRACE",
type: ["maneuver"],
behaviors: ["non-hd"],
name: "Set And Brace",
costPerLevel: costPerLevelFixedValue(0),
perceivability: "obvious",
duration: "instant",
range: HERO.RANGE_TYPES.SELF,
costEnd: false,
target: "target's dcv",
ignoreFor: ["base2", "computer", "ai"],
maneuverDesc: {
phase: "1",
ocv: "+3",
dcv: "1/2",
effects: "Take extra time to aim a Ranged attack at a target, +2 OCV only to offset the Range Modifier",
attack: false,
},
},
{},
);
addPower(
{
key: "SHOVE",
Expand Down
2 changes: 1 addition & 1 deletion module/item/item.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1567,7 +1567,7 @@ export class HeroSystem6eItem extends Item {
const configPowerInfo = this.baseInfo;
if (!configPowerInfo) {
if (this.system.XMLID) {
ui.notifications.warn(`${this.actor?.name}/${this.system.XMLID}} doesn't have power defined`);
ui.notifications.warn(`${this.actor?.name}/${this.system.XMLID} doesn't have power defined`);
} else {
console.error(`${this.actor?.name}/${this.name} doesn't have power defined`);
}
Expand Down
2 changes: 1 addition & 1 deletion system.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "hero6e-foundryvtt-v2",
"title": "Hero System 6e (Unofficial) v2",
"description": "The Hero System 6e for FoundryVTT!",
"version": "4.0.9",
"version": "4.0.10",
"compatibility": {
"minimum": "12",
"verified": "12.331",
Expand Down

0 comments on commit b0f7f3d

Please sign in to comment.