Warafear před 3 měsíci
rodič
revize
3cffca5f50

+ 4 - 12
src/app/journal/journal-inventory/simple-item-details/simple-item-details.component.html

@@ -23,18 +23,10 @@
 ></div>
 
 <div class="vertical-buttons bottom">
-  <ui-button
-    [color]="'green'"
-    [width]="'w22'"
-    [type]="'edit'"
-    (click)="close('update')"
-  >
+  <ui-button [width]="'w22'" (click)="close('update')"
+    >{{ "buttons.edit" | translate }}
   </ui-button>
-  <ui-button
-    [color]="'red'"
-    [width]="'w22'"
-    [type]="'delete'"
-    (click)="close('delete')"
-  >
+  <ui-button [width]="'w22'" (click)="close('delete')"
+    >{{ "buttons.delete" | translate }}
   </ui-button>
 </div>

+ 6 - 6
src/services/data/data.service.ts

@@ -2,17 +2,17 @@ import { Injectable } from '@angular/core';
 import Localbase from 'localbase';
 import { BehaviorSubject } from 'rxjs';
 import {
-  Weapon,
-  Food,
-  SimpleItem,
-  Trait,
   Ability,
-  Spell,
-  Skill,
   Attribute,
+  Food,
   JournalEntry,
   Npcs,
   Place,
+  SimpleItem,
+  Skill,
+  Spell,
+  Trait,
+  Weapon,
 } from 'src/interfaces/interfaces';
 import { SpellsService } from '../spells/spells.service';
 

+ 1 - 1
src/services/spells/spells.service.ts

@@ -3587,12 +3587,12 @@ export class SpellsService {
       english: 'Bless',
       image: 'bless',
       level: 1,
+      timeToCast: 1,
       cost: 'action',
       duration: 1,
       durationType: 'minutes',
       isCustom: false,
       classes: ['test', 'cleric', 'paladin'],
-      timeToCast: 0,
       isRitual: false,
       needsVerbal: true,
       needsSomatic: true,