This commit is contained in:
Chris Chen
2025-11-06 07:10:28 -08:00
parent b41c01e6f7
commit b44834343a
8 changed files with 24 additions and 7 deletions
@@ -22,12 +22,13 @@ export class MobCombatInfoComponent implements OnInit {
}
}
@Input() mode: MobDlgType = MobDlgType.PreView;
showSkill: boolean = false;
showAllSkill: boolean = false;
showBlackDice: boolean
skillTriggerHtml: string = '';
constructor() { }
ngOnInit(): void {
this.showAllSkill = [MobDlgType.PreView, MobDlgType.Dashboard].includes(this.mode);
if (this.mob.skills && this.mob.skills.length > 0) {
this.mob.skills.forEach(element => {
switch (this.mode) {