import { Stat } from './Stat' ; export enum FestivalChannelOperation { Add , Remove } export interface IFestival { id ? : string ; name : string ; endTime : number ; startedBy : string ; stats : { [ key in Stat ] ? : number ; } ; } export enum FestivalType { XP = 'XP' , Gold = 'Gold' , Salvage = 'Salvage' , CoreStats = 'CoreStats' } const FESTIVAL_STAT_MULT = 20 ; export const FestivalStats = { [ FestivalType . CoreStats ] : { [ Stat . STR ] : FESTIVAL_STAT_MULT , [ Stat . AGI ] : FESTIVAL_STAT_MULT , [ Stat . CON ] : FESTIVAL_STAT_MULT , [ Stat . DEX ] : FESTIVAL_STAT_MULT , [ Stat . INT ] : FESTIVAL_STAT_MULT , [ Stat . LUK ] : FESTIVAL_STAT_MULT } , [ FestivalType . Salvage ] : { [ Stat . SALVAGE ] : FESTIVAL_STAT_MULT } , [ FestivalType . XP ] : { [ Stat . XP ] : FESTIVAL_STAT_MULT } , [ FestivalType . Gold ] : { [ Stat . GOLD ] : FESTIVAL_STAT_MULT } } ; export const FestivalCost = { [ FestivalType . CoreStats ] : 50 , [ FestivalType . XP ] : 70 , [ FestivalType . Gold ] : 90 , [ FestivalType . Salvage ] : 110 } ;