Skip to content

Commit

Permalink
disable enable when for now
Browse files Browse the repository at this point in the history
  • Loading branch information
rosenrusinov committed Jul 12, 2023
1 parent a5b1b80 commit 36be850
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ui/deathknight/presets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,31 +242,31 @@ export const DefaultConsumes = Consumes.create({

export const BLOOD_ROTATION_PRESET_LEGACY_DEFAULT = {
name: 'Blood Legacy',
enableWhen: (player: Player<Spec.SpecDeathknight>) => player.getTalentTree() == 0,
//enableWhen: (player: Player<Spec.SpecDeathknight>) => player.getTalentTree() == 0,
rotation: SavedRotation.create({
specRotationOptionsJson: DeathKnightRotation.toJsonString(DefaultBloodRotation),
}),
}

export const FROST_ROTATION_PRESET_LEGACY_DEFAULT = {
name: 'Frost Legacy',
enableWhen: (player: Player<Spec.SpecDeathknight>) => player.getTalentTree() == 1,
//enableWhen: (player: Player<Spec.SpecDeathknight>) => player.getTalentTree() == 1,
rotation: SavedRotation.create({
specRotationOptionsJson: DeathKnightRotation.toJsonString(DefaultFrostRotation),
}),
}

export const UNHOLY_DW_ROTATION_PRESET_LEGACY_DEFAULT = {
name: 'Unholy DW Legacy',
enableWhen: (player: Player<Spec.SpecDeathknight>) => player.getTalentTree() == 2,
//enableWhen: (player: Player<Spec.SpecDeathknight>) => player.getTalentTree() == 2,
rotation: SavedRotation.create({
specRotationOptionsJson: DeathKnightRotation.toJsonString(DefaultUnholyRotation),
}),
}

export const BLOOD_PESTI_ROTATION_PRESET_DEFAULT = {
name: 'Blood Pesti APL',
enableWhen: (player: Player<Spec.SpecDeathknight>) => player.getTalentTree() == 0,
//enableWhen: (player: Player<Spec.SpecDeathknight>) => player.getTalentTree() == 0,
rotation: SavedRotation.create({
specRotationOptionsJson: DeathKnightRotation.toJsonString(DefaultBloodRotation),
rotation: APLRotation.fromJsonString(`{
Expand Down Expand Up @@ -303,7 +303,7 @@ export const BLOOD_PESTI_ROTATION_PRESET_DEFAULT = {

export const FROST_BL_PESTI_ROTATION_PRESET_DEFAULT = {
name: 'Frost BL Pesti APL',
enableWhen: (player: Player<Spec.SpecDeathknight>) => player.getTalentTree() == 1,
//enableWhen: (player: Player<Spec.SpecDeathknight>) => player.getTalentTree() == 1,
rotation: SavedRotation.create({
specRotationOptionsJson: DeathKnightRotation.toJsonString(DefaultFrostRotation),
rotation: APLRotation.fromJsonString(`{
Expand Down Expand Up @@ -337,7 +337,7 @@ export const FROST_BL_PESTI_ROTATION_PRESET_DEFAULT = {

export const FROST_UH_PESTI_ROTATION_PRESET_DEFAULT = {
name: 'Frost UH Pesti APL',
enableWhen: (player: Player<Spec.SpecDeathknight>) => player.getTalentTree() == 1,
//enableWhen: (player: Player<Spec.SpecDeathknight>) => player.getTalentTree() == 1,
rotation: SavedRotation.create({
specRotationOptionsJson: DeathKnightRotation.toJsonString(DefaultFrostRotation),
rotation: APLRotation.fromJsonString(`{
Expand Down Expand Up @@ -371,7 +371,7 @@ export const FROST_UH_PESTI_ROTATION_PRESET_DEFAULT = {

export const UNHOLY_DW_ROTATION_PRESET_DEFAULT = {
name: 'Unholy DW SS APL',
enableWhen: (player: Player<Spec.SpecDeathknight>) => player.getTalentTree() == 2,
//enableWhen: (player: Player<Spec.SpecDeathknight>) => player.getTalentTree() == 2,
rotation: SavedRotation.create({
specRotationOptionsJson: DeathKnightRotation.toJsonString(DefaultUnholyRotation),
rotation: APLRotation.fromJsonString(`{
Expand Down

0 comments on commit 36be850

Please sign in to comment.