|
@@ -35,7 +35,7 @@ export enum Outcomes { |
|
|
Other = "Something Else" |
|
|
Other = "Something Else" |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
interface DiceResult { |
|
|
|
|
|
|
|
|
export interface DiceResult { |
|
|
total: number; |
|
|
total: number; |
|
|
dice: Array<number>; |
|
|
dice: Array<number>; |
|
|
olddice?: Array<number>; |
|
|
olddice?: Array<number>; |
|
@@ -45,14 +45,6 @@ interface DiceResult { |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
interface ItemCount { |
|
|
|
|
|
item: string | number | Outcomes; |
|
|
|
|
|
count: number; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
declare let ItemCountSet: Array<ItemCount>; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* Simple d10, implements `roll()` |
|
|
* Simple d10, implements `roll()` |
|
|
*/ |
|
|
*/ |
|
|