Skip to content

Commit

Permalink
Change channel type in BaseCastEvent to EndChannelEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
Krealle committed Mar 21, 2024
1 parent 4fa9536 commit aa341b8
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions src/parser/core/Events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -442,21 +442,7 @@ export interface BaseCastEvent<T extends string> extends Event<T> {
absorb?: number;
armor?: number;
attackPower?: number;
channel?: {
type: EventType.BeginChannel;
timestamp: number;
duration: number;
ability: Ability;
sourceID: number;
isCancelled: boolean;
start: number;
beginChannel?: {
isCancelled: boolean;
sourceID: number;
timestamp: number;
type: string;
};
};
channel?: EndChannelEvent;
classResources?: Array<ClassResources & { cost: number }>;
facing?: number;
hitPoints?: number;
Expand Down

0 comments on commit aa341b8

Please sign in to comment.