neon_crisp / Modules / fightFactory/lootTable / LootTable
Class: LootTable
fightFactory/lootTable.LootTable
Table of contents
Constructors
Properties
- actionDefault
- actionLoss
- actionWin
- cardDefault
- cardLoss
- cardWin
- chestDropChance
- chestWinId
- gemDefault
- gemLoss
- gemWin
- goldDefault
- goldLoss
- goldWin
- id
Methods
Constructors
constructor
• new LootTable(«destructured»): LootTable
Parameters
| Name | Type |
|---|---|
«destructured» | RawLootTable |
Returns
Defined in
Properties
actionDefault
• actionDefault: null | ActionBtn
Defined in
actionLoss
• actionLoss: DropItem[]
Defined in
actionWin
• actionWin: DropItem[]
Defined in
cardDefault
• cardDefault: null | Card
Defined in
cardLoss
• cardLoss: DropItem[]
Defined in
cardWin
• cardWin: DropItem[]
Defined in
chestDropChance
• chestDropChance: Object
Type declaration
| Name | Type |
|---|---|
common | number |
epic | number |
rare | number |
uncommon | number |
Defined in
chestWinId
• chestWinId: null | string
Defined in
gemDefault
• gemDefault: number