Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement Shaman Sim will not load #3286

Closed
voteblueranger opened this issue Jul 11, 2023 · 1 comment
Closed

Enhancement Shaman Sim will not load #3286

voteblueranger opened this issue Jul 11, 2023 · 1 comment

Comments

@voteblueranger
Copy link
Contributor

voteblueranger commented Jul 11, 2023

The enhancement shaman sim page is not loading; this appears to be due to an extra closing square bracket on line 198 of the file ui/enhancement_shaman/presets.ts:

export const P2_PRESET_FT = {
	name: 'P2 Preset FT',
	tooltip: Tooltips.BASIC_BIS_DISCLAIMER,
	gear: EquipmentSpec.fromJsonString(`{ "items": [
        {"id":45610,"enchant":3817,"gems":[41398,42702]},
        {"id":45517,"gems":[39999]},
        {"id":46203,"enchant":3808,"gems":[39999]},
        {"id":45461,"enchant":3831,"gems":[40014]},
        {"id":46205,"enchant":3832,"gems":[40058,40053]},
        {"id":45460,"enchant":3845,"gems":[39999,0]},
        {"id":46200,"enchant":3604,"gems":[40014,0]},
        {"id":45553,"gems":[36766,36766,36766]},
        {"id":46208,"enchant":3823,"gems":[39999,39999]},
        {"id":45989,"enchant":3606,"gems":[40053,39999]},
        {"id":45456,"gems":[39999]},
        {"id":46046,"gems":[40053]},
        {"id":45609},
        {"id":46038},
        {"id":45612,"enchant":3789,"gems":[39999]},
        {"id":46097,"enchant":3789,"gems":[40003]},
        {"id":40322}
      ]
    ]}`),
};

If this bracket is removed, the sim works as expected.

@voteblueranger
Copy link
Contributor Author

Wrote a quick PR to fix this. #3287

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants