WeaponData
Index
Constructors
constructor
Parameters
data: JsonObject
enka: EnkaClient
Returns WeaponData
Properties
readonly_data
readonly_nameId
readonly_weaponTypeData
readonlyawakenIcon
readonlydescription
readonlyenka
readonlyicon
readonlyid
readonlyname
readonlyrefinements
readonlystars
readonlyweaponType
readonlyweaponTypeName
Methods
getAscensionData
Parameters
ascension: number
Returns WeaponAscension
getStats
Parameters
ascension: number
ascension level 0-6 for 3-5 stars, and 0-4 for 1-2 stars.
level: number
weapon level 1-90 for 3-5 stars, and 1-70 for 1-2 stars.
Returns StatProperty<FightProp>[]
staticgetById
Parameters
id: number
enka: EnkaClient
Returns WeaponData
ascension level 0-6 for 3-5 stars, and 0-4 for 1-2 stars.