Skip to content

Commit

Permalink
Merge pull request #355 from xiashtra/enhanced-fuka-fix
Browse files Browse the repository at this point in the history
Only apply Enhanced Fuka at level >= 78
  • Loading branch information
xpdota authored Oct 16, 2024
2 parents 6be0a79 + cec9d34 commit b35e457
Showing 1 changed file with 24 additions and 11 deletions.
35 changes: 24 additions & 11 deletions packages/xivmath/src/xivconstants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,17 +263,30 @@ export const JOB_DATA: Record<JobName, JobDataConst> = {
},
SAM: {
...STANDARD_MELEE,
gcdDisplayOverrides() {
return [{
shortLabel: 'GCD',
longLabel: '2.5s GCD w/ Fuka',
description: 'GCD recast time w/ Fuka',
gcdTime: 2.5,
attackType: 'Weaponskill',
haste: 13,
basis: 'sks',
isPrimary: true,
}]
gcdDisplayOverrides: (level) => {
if (level < 78) {
return [{
shortLabel: 'GCD',
longLabel: '2.5s GCD w/ Fuka',
description: 'GCD recast time w/ Fuka',
gcdTime: 2.5,
attackType: 'Weaponskill',
haste: 10,
basis: 'sks',
isPrimary: true,
}]
} else {
return [{
shortLabel: 'GCD',
longLabel: '2.5s GCD w/ Fuka',
description: 'GCD recast time w/ Fuka',
gcdTime: 2.5,
attackType: 'Weaponskill',
haste: 13, // Enhanced Fugetsu and Fuka
basis: 'sks',
isPrimary: true,
}]
}
}
},
RPR: STANDARD_MELEE,
Expand Down

0 comments on commit b35e457

Please sign in to comment.