Skip to content

Commit

Permalink
Better handling of npconly spells
Browse files Browse the repository at this point in the history
  • Loading branch information
seiyria committed Sep 5, 2024
1 parent 5c73f92 commit ce04dae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions _transformers/helpers/stems.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function handleMacros(macros) {

module.exports.handleSTEMs = function handleSTEMs(fData) {
handleSpells(fData.filter((f) => !f._isNPCOnly && f._hasSpell));
handleTraits(fData.filter((f) => !f._isNPCOnly && f._hasTrait));
handleEffects(fData.filter((f) => !f._isNPCOnly && f._hasEffect));
handleMacros(fData.filter((f) => !f._isNPCOnly && f._hasMacro));
handleTraits(fData.filter((f) => f._hasTrait));
handleEffects(fData.filter((f) => f._hasEffect));
handleMacros(fData.filter((f) => f._hasMacro));
};
2 changes: 1 addition & 1 deletion mods/BaseGameContent.rairmod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "BaseGameContent",
"author": "Seiyria",
"version": 1,
"savedAt": 1725561896040
"savedAt": 1725561959449
},
"npcs": [
{
Expand Down

0 comments on commit ce04dae

Please sign in to comment.