diff --git a/src/app/draft/components/character-sheet/character-avatar/character-avatar.component.html b/src/app/draft/components/character-sheet/character-avatar/character-avatar.component.html index 85b9e21..bd649e1 100644 --- a/src/app/draft/components/character-sheet/character-avatar/character-avatar.component.html +++ b/src/app/draft/components/character-sheet/character-avatar/character-avatar.component.html @@ -1,17 +1,11 @@ -
+ style="background-image: url('{{ getAvatarImage() }}');" (mouseenter)="onAvatarMouseEnter()" + (mouseleave)="onAvatarMouseLeave()">
-
+
{{ player ? player.name : 'Avatar Name' }}
@@ -20,35 +14,22 @@
@if (!combat && showExperience) { -

Level up for gold:

-
- - -
- -
- -
+ } +
}
-
+ \ No newline at end of file diff --git a/src/app/draft/components/draft-room/draft-room.component.html b/src/app/draft/components/draft-room/draft-room.component.html index 5dc2f9f..2ef6f37 100644 --- a/src/app/draft/components/draft-room/draft-room.component.html +++ b/src/app/draft/components/draft-room/draft-room.component.html @@ -8,7 +8,7 @@
- +
diff --git a/src/app/draft/components/draft-room/draft-room.component.ts b/src/app/draft/components/draft-room/draft-room.component.ts index df48d3e..e9d340e 100644 --- a/src/app/draft/components/draft-room/draft-room.component.ts +++ b/src/app/draft/components/draft-room/draft-room.component.ts @@ -32,7 +32,6 @@ export class DraftRoomComponent implements OnInit { constructor( public draftService: DraftService, - private router: Router, ) { this.player = new Player(); this.shop = [] as Item[]; diff --git a/src/app/draft/components/shop/shop.component.html b/src/app/draft/components/shop/shop.component.html index 751728b..db15773 100644 --- a/src/app/draft/components/shop/shop.component.html +++ b/src/app/draft/components/shop/shop.component.html @@ -45,7 +45,7 @@
- @@ -56,11 +56,17 @@ }
- +
\ No newline at end of file diff --git a/src/app/draft/components/shop/shop.component.ts b/src/app/draft/components/shop/shop.component.ts index e6355ce..50b3ad0 100644 --- a/src/app/draft/components/shop/shop.component.ts +++ b/src/app/draft/components/shop/shop.component.ts @@ -24,13 +24,18 @@ import { MatIconModule } from '@angular/material/icon'; styleUrl: './shop.component.css', }) export class ShopComponent { - hoverRefresh = false; + hoverShopRefresh = false; + hoverTelentRefresh = false; constructor(public draftService: DraftService) { this.shop = [] as Item[]; + this.playerLevel = 0; + this.playerGold = 0; } @Input({ required: true }) shop: Item[]; + @Input({ required: true }) playerLevel: number; + @Input({ required: true }) playerGold: number; onMouseEnterItem(item: Item) { item.showDetails = true; @@ -51,11 +56,12 @@ export class ShopComponent { : 'https://chungus-battles.b-cdn.net/chungus-battles-assets/Item_ID_0_Empty.png'; } - hoverRefreshButton() { - this.hoverRefresh = true; + switchShopRefreshAnimate() { + this.hoverShopRefresh = !this.hoverShopRefresh; } - leaveRefreshButton() { - this.hoverRefresh = false; + switchTalentRefreshAnimate() { + this.hoverTelentRefresh = !this.hoverTelentRefresh; } + } diff --git a/src/styles.css b/src/styles.css index 3d115a6..9decaab 100644 --- a/src/styles.css +++ b/src/styles.css @@ -24,15 +24,15 @@ body { } } .damage-number { - @apply absolute text-red-500 text-lg font-bold transition-all; - animation: floatUp 3s ease-out forwards; + @apply absolute text-red-500 text-lg font-thin font-sans transition-all; + animation: floatUp 3s ease-in forwards; -webkit-text-stroke: 1px red; } .healing-number { - @apply absolute text-green-500 text-lg font-bold transition-all; - animation: floatUp 3s ease-out forwards; - -webkit-text-stroke: 1px green; + @apply absolute text-green-400 text-lg font-thin font-sans transition-all; + animation: floatUp 3s ease-in forwards; + -webkit-text-stroke: 1px rgb(8, 238, 96); } .animate-attack {