forked from WoWAnalyzer/WoWAnalyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated Hunter MM Tier Set + Ran Update Script (WoWAnalyzer#7178)
* reenable hunter mm spec * Updated support lvl, patch, example report and uncommented changelog + parser * fixed error on icon name * edited to use correct serpent sting * added foundation guide, removed death chak, murder of crows, steel trap and serpent sting * removed serpent sting pandemic and uptime * fixed wailing arrow id * added serpent sting and fixed fort of bear id * fixed description for true shot * removed steel trap. added fort of bear. edited serpent sting * removed serpent sting * null check * addressed some constants. will need to revisit * steady focus now provides either 0 or 8% haste * edited description * added skardyns grace * added black arrow as focus spender * added variations of black arrow * should not display kill shot if talented into black arrow * add black arrow to abilities * added display for black arrow. still WIP * undo change in this file as its generated * remove gcd and cooldown. current wailing has neither * fixed id * added focus spender * added other version of wailing arrow * remove console log * added changelogs * fixed changelog issue * update to current live version * auto generated talents * updated tier set * deleted file. no longer a talent * use updated tier set * fixed naming * removed * changelog update * undo updates to other classes * update changelog * add back for beast mastery --------- Co-authored-by: mcheung7272 <[email protected]>
- Loading branch information
1 parent
bcd7a12
commit 511f427
Showing
12 changed files
with
234 additions
and
266 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
src/analysis/retail/hunter/marksmanship/modules/items/MMTier4P.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
import Analyzer, { Options, SELECTED_PLAYER } from 'parser/core/Analyzer'; | ||
import { TIERS } from 'game/TIERS'; | ||
import Statistic from 'parser/ui/Statistic'; | ||
import STATISTIC_CATEGORY from 'parser/ui/STATISTIC_CATEGORY'; | ||
import SPELLS from 'common/SPELLS'; | ||
import BoringSpellValueText from 'parser/ui/BoringSpellValueText'; | ||
import ItemDamageDone from 'parser/ui/ItemDamageDone'; | ||
import Events, { DamageEvent } from 'parser/core/Events'; | ||
import { TALENTS_HUNTER } from 'common/TALENTS'; | ||
|
||
/** | ||
* Consuming Precise Shot increases the damage of your next Aimed Shot by 20% | ||
*/ | ||
export default class MMTier4P extends Analyzer { | ||
totalDamage: number = 0; | ||
buffNextAimedShot = false; | ||
|
||
constructor(options: Options) { | ||
super(options); | ||
this.active = this.selectedCombatant.has4PieceByTier(TIERS.TWW1); | ||
this.addEventListener( | ||
Events.removebuff.by(SELECTED_PLAYER).spell(SPELLS.PRECISE_SHOTS), | ||
this.onPreciseShotConsumed, | ||
); | ||
this.addEventListener( | ||
Events.damage.by(SELECTED_PLAYER).spell(TALENTS_HUNTER.AIMED_SHOT_TALENT), | ||
this.onAimedShotDamage, | ||
); | ||
} | ||
|
||
// Increase Aimed Shot damage if precise shot buff was consumed | ||
onAimedShotDamage(event: DamageEvent) { | ||
if (this.buffNextAimedShot) { | ||
this.totalDamage += event.amount + event.amount * 0.2 + (event.absorbed || 0); | ||
this.buffNextAimedShot = false; | ||
} | ||
} | ||
|
||
//On Consumption of this buff, increase damage of next aimed shot | ||
onPreciseShotConsumed() { | ||
this.buffNextAimedShot = true; | ||
} | ||
|
||
statistic() { | ||
return ( | ||
<Statistic category={STATISTIC_CATEGORY.ITEMS} size="flexible"> | ||
<BoringSpellValueText spell={SPELLS.TWW_LIGHTLESS_4P_MM}> | ||
<ItemDamageDone amount={this.totalDamage} /> | ||
<br /> | ||
</BoringSpellValueText> | ||
</Statistic> | ||
); | ||
} | ||
} |
69 changes: 0 additions & 69 deletions
69
src/analysis/retail/hunter/marksmanship/modules/items/T29MMTier4P.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 0 additions & 71 deletions
71
src/analysis/retail/hunter/marksmanship/modules/talents/EagletalonsTrueFocus.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.