diff --git a/src/app/shared/components/input-spell/input-spell.component.ts b/src/app/shared/components/input-spell/input-spell.component.ts index 1eec4eb..88dd96b 100644 --- a/src/app/shared/components/input-spell/input-spell.component.ts +++ b/src/app/shared/components/input-spell/input-spell.component.ts @@ -21,11 +21,12 @@ export class InputSpellComponent implements OnInit { public label = input('Spell'); public change = output(); public defaultValue = input(); + public allowMacro = input(); public values = computed(() => { const baseSpells = this.modService .mod() - .stems.filter((s) => s._hasSpell) + .stems.filter((s) => s._hasSpell || (this.allowMacro() && s._hasMacro)) .map((s) => s._gameId); return baseSpells.sort(); diff --git a/src/app/tabs/npcs/npcs-editor/npcs-editor.component.html b/src/app/tabs/npcs/npcs-editor/npcs-editor.component.html index 071ff59..a19ff4f 100644 --- a/src/app/tabs/npcs/npcs-editor/npcs-editor.component.html +++ b/src/app/tabs/npcs/npcs-editor/npcs-editor.component.html @@ -317,7 +317,7 @@
- +