|
|
@@ -35,7 +35,7 @@ export enum Outcomes { |
|
|
|
Other = "Something Else" |
|
|
|
} |
|
|
|
|
|
|
|
interface DiceResult { |
|
|
|
export interface DiceResult { |
|
|
|
total: number; |
|
|
|
dice: 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()` |
|
|
|
*/ |
|
|
|