neon_crisp / Modules / fightFactory/dropitem / DropItem
Class: DropItem
fightFactory/dropitem.DropItem
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new DropItem(«destructured»): DropItem
Parameters
| Name | Type |
|---|---|
«destructured» | RawDropItem |
Returns
Defined in
Properties
actionId
• actionId: null | string
Defined in
cardId
• cardId: null | string
Defined in
chanceToDrop
• chanceToDrop: number
Defined in
gems
• gems: number
Defined in
gold
• gold: number
Defined in
id
• id: string
Defined in
Methods
drop
▸ drop(): boolean
Returns
boolean