Skip to content

Commit

Permalink
Merge pull request dmdorman#558 from phBalance/phBalance/remove-rules…
Browse files Browse the repository at this point in the history
…-property

Remove rules property
  • Loading branch information
phBalance authored Dec 27, 2023
2 parents 6b7fdfd + e172c36 commit bb2e2d0
Show file tree
Hide file tree
Showing 16 changed files with 605 additions and 606 deletions.
5 changes: 0 additions & 5 deletions module/actor/actor.js
Original file line number Diff line number Diff line change
Expand Up @@ -1648,11 +1648,6 @@ export class HeroSystem6eActor extends Actor {
await this.update(changes);
}

// Item Effects
// for (const item of this.items.contents) {
// createEffects(item)
// }

// Initiative Characteristic
if (this.system.initiativeCharacteristic === undefined) {
if (
Expand Down
2 changes: 1 addition & 1 deletion module/item/item-attack.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export async function AttackOptions(item) {

// Uses Tk
let tkItems = item.actor.items.filter(
(o) => o.system.rules == "TELEKINESIS",
(o) => o.system.XMLID == "TELEKINESIS",
);
let tkStr = 0;
for (const item of tkItems) {
Expand Down
2 changes: 1 addition & 1 deletion module/item/item.js
Original file line number Diff line number Diff line change
Expand Up @@ -3010,7 +3010,7 @@ export class HeroSystem6eItem extends Item {
}

const configPowerInfo = getPowerInfo({
xmlid: skillData.XMLID || skillData.rules,
xmlid: skillData.XMLID,
actor: this.actor,
});

Expand Down
Loading

0 comments on commit bb2e2d0

Please sign in to comment.