Skip to content

Commit

Permalink
closes #36
Browse files Browse the repository at this point in the history
  • Loading branch information
seiyria committed Aug 15, 2024
1 parent 261f9d4 commit a0e27e1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/app/tabs/npcs/npcs-editor/npcs-editor.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,16 @@
</div>
}

@if(baseEffect.name === 'Mood') {
<div class="form-column">
<div class="form-row">
<app-input-floating-label>Enrage Timer (ms)</app-input-floating-label>
<input [(ngModel)]="baseEffect.extra.enrageTimer" min="0" type="number" placeholder="Choose timer..."
class="form-input" />
</div>
</div>
}

<div class="form-column">
<div class="form-row">
<app-input-floating-label>Potency</app-input-floating-label>
Expand Down
1 change: 1 addition & 0 deletions src/interfaces/npc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export interface INPCDefinition extends HasIdentification {
extra: {
potency: number;
damageType?: DamageClassType;
enrageTimer?: number;
};
}>;

Expand Down

0 comments on commit a0e27e1

Please sign in to comment.