Skip to main content

neon_crisp / Modules / fightFactory/dropitem / DropItem

Class: DropItem

fightFactory/dropitem.DropItem

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new DropItem(«destructured»): DropItem

Parameters

NameType
«destructured»RawDropItem

Returns

DropItem

Defined in

fightFactory/dropitem.ts:16

Properties

actionId

actionId: null | string

Defined in

fightFactory/dropitem.ts:15


cardId

cardId: null | string

Defined in

fightFactory/dropitem.ts:12


chanceToDrop

chanceToDrop: number

Defined in

fightFactory/dropitem.ts:11


gems

gems: number

Defined in

fightFactory/dropitem.ts:14


gold

gold: number

Defined in

fightFactory/dropitem.ts:13


id

id: string

Defined in

fightFactory/dropitem.ts:10

Methods

drop

drop(): boolean

Returns

boolean

Defined in

fightFactory/dropitem.ts:30