Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
feat(live-feed): add incineration
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Reed committed Sep 11, 2020
1 parent d8f5e7f commit 23846ea
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/app/live-feed/live-feed.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ export class LiveFeedPage implements OnInit, OnDestroy {
checkInterestingEvents() {
/* just for testing
if (this.games.length > 0) {
this.games[0].data.lastUpdate = 'reverb';
this.games[0].data.lastUpdate = 'rogue umpire incinerated';
this.games[1].data.lastUpdate = 'switched teams and feedback';
this.games[2].data.lastUpdate = 'hits a grand slam';
}
Expand All @@ -300,6 +300,13 @@ export class LiveFeedPage implements OnInit, OnDestroy {
Util.confetti(id, 'GRAND SLAM!', {
particleCount: 100,
});
} else if (
update.indexOf('rogue umpire incinerated') >= 0
) {
Util.message(id, '🔥 INCINERATED 🔥', {
fontSize: '3em',
messageColor: '#ffdf19',
});
} else if (
update.indexOf('blooddrain') >= 0
) {
Expand Down

0 comments on commit 23846ea

Please sign in to comment.