Skip to content

Commit

Permalink
fix buff/debuff presets
Browse files Browse the repository at this point in the history
  • Loading branch information
lime-green committed Oct 16, 2023
1 parent ddee0b9 commit 12eaca7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ui/elemental_shaman/presets.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Consumes } from '../core/proto/common.js';
import {Consumes, Profession} from '../core/proto/common.js';

import { EquipmentSpec } from '../core/proto/common.js';
import { Flask } from '../core/proto/common.js';
Expand Down Expand Up @@ -91,6 +91,12 @@ export const DefaultOptions = ElementalShamanOptions.create({
}),
});

export const OtherDefaults = {
distanceFromTarget: 20,
profession1: Profession.Engineering,
profession2: Profession.Tailoring,
}

export const DefaultConsumes = Consumes.create({
defaultPotion: Potions.PotionOfWildMagic,
flask: Flask.FlaskOfTheFrostWyrm,
Expand Down
3 changes: 3 additions & 0 deletions ui/elemental_shaman/sim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ export class ElementalShamanSimUI extends IndividualSimUI<Spec.SpecElementalSham
talents: Presets.StandardTalents.data,
// Default spec-specific settings.
specOptions: Presets.DefaultOptions,
other: Presets.OtherDefaults,
// Default raid/party buffs settings.
raidBuffs: RaidBuffs.create({
arcaneBrilliance: true,
Expand All @@ -109,6 +110,7 @@ export class ElementalShamanSimUI extends IndividualSimUI<Spec.SpecElementalSham
moonkinAura: TristateEffect.TristateEffectImproved,
sanctifiedRetribution: true,
demonicPact: 500,
wrathOfAirTotem: true,
}),
partyBuffs: PartyBuffs.create({
}),
Expand All @@ -123,6 +125,7 @@ export class ElementalShamanSimUI extends IndividualSimUI<Spec.SpecElementalSham
misery: true,
curseOfElements: true,
shadowMastery: true,
heartOfTheCrusader: true,
}),
},
// IconInputs to include in the 'Player' section on the settings tab.
Expand Down

0 comments on commit 12eaca7

Please sign in to comment.