Android build v1.1.27
This commit is contained in:
@@ -2,12 +2,47 @@ export type Iwt2PlayerClassId = 'healer' | 'paladin' | 'ranger' | 'mage' | 'rogu
|
||||
|
||||
export type Iwt2PlayerClassRole = 'healer' | 'tank' | 'damage'
|
||||
|
||||
export type Iwt2ClassEquipmentSlot =
|
||||
| 'weapon'
|
||||
| 'offhand'
|
||||
| 'head'
|
||||
| 'chest'
|
||||
| 'hands'
|
||||
| 'legs'
|
||||
|
||||
export type Iwt2ClassLayerMotion = {
|
||||
offsetXScale?: number
|
||||
offsetYScale?: number
|
||||
rotation?: number
|
||||
}
|
||||
|
||||
export type Iwt2ClassWeaponLayer = {
|
||||
id: string
|
||||
slot: Iwt2ClassEquipmentSlot
|
||||
url: string
|
||||
drawOrder: 'behindBody' | 'front'
|
||||
heightScale: number
|
||||
offsetXScale: number
|
||||
offsetYScale: number
|
||||
originX?: number
|
||||
originY?: number
|
||||
attackMotion?: Iwt2ClassLayerMotion
|
||||
tierAccentEligible?: boolean
|
||||
}
|
||||
|
||||
export type Iwt2ClassLayeredArenaSprite = {
|
||||
bodyUrl: string
|
||||
bodyHeightScale?: number
|
||||
weaponLayers: Iwt2ClassWeaponLayer[]
|
||||
}
|
||||
|
||||
export type Iwt2ClassMetadata = {
|
||||
id: Iwt2PlayerClassId
|
||||
name: string
|
||||
role: Iwt2PlayerClassRole
|
||||
icon: string
|
||||
arenaSpriteUrl: string
|
||||
arenaLayeredSprite?: Iwt2ClassLayeredArenaSprite
|
||||
uiIconUrl: string
|
||||
color: string
|
||||
accentColor: string
|
||||
@@ -118,6 +153,28 @@ export const IWT2_CLASS_METADATA: Record<Iwt2PlayerClassId, Iwt2ClassMetadata> =
|
||||
role: 'damage',
|
||||
icon: '⚔',
|
||||
arenaSpriteUrl: '/iwt2/classes/arena/warrior-chunky.png',
|
||||
arenaLayeredSprite: {
|
||||
bodyUrl: '/iwt2/classes/arena/layers/warrior-body.png',
|
||||
weaponLayers: [
|
||||
{
|
||||
id: 'axe',
|
||||
slot: 'weapon',
|
||||
url: '/iwt2/classes/arena/layers/warrior-weapon-axe.png',
|
||||
drawOrder: 'front',
|
||||
heightScale: 1.72,
|
||||
offsetXScale: 0.48,
|
||||
offsetYScale: -2.05,
|
||||
originX: 0.18,
|
||||
originY: 0.5,
|
||||
attackMotion: {
|
||||
offsetXScale: 0.22,
|
||||
offsetYScale: -0.18,
|
||||
rotation: 0.54,
|
||||
},
|
||||
tierAccentEligible: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
uiIconUrl: '/iwt2/classes/ui/warrior-medallion.png',
|
||||
color: '#ff7675',
|
||||
accentColor: '#ffd0d0',
|
||||
|
||||
Reference in New Issue
Block a user