html = itemDefs
.filter(v => v.itemCategoryHashes)
.filter(v => v.itemCategoryHashes.includes(4104513227)) // armour mods
.filter(v => v.plug && v.plug.energyCost) // exlude ornaments
.sort((a, b) => a.index - b.index)
.map(i => `<tr>
<td><img src="https://bungie.net${i.displayProperties.icon}" width="30" height="30"> </td>
<td>${i.displayProperties.name}</td>
${i.itemTypeDisplayName}
This file contains hidden or 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
| { version: 2} |
This file contains hidden or 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
| inspector = options => { | |
| // apiKey for api.braytech.org (to do) | |
| if (!inspector.init) { | |
| inspector.init = true; | |
| var inspectorWindow = document.createElement('div'); | |
| inspectorWindow.setAttribute('id', 'inspector'); | |
| document.body.appendChild(inspectorWindow); |
This file contains hidden or 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
| const makeMessages = (src = {}, path = []) => | |
| new Proxy(src, { | |
| get(target, name) { | |
| const newPath = [...path, name]; | |
| // For _any_ key on messages, return a function that returns the string-path to that key. | |
| // Also, wrap that function in this proxy to do the same for any key on the function | |
| return makeMessages(() => newPath.join('.'), newPath); | |
| } | |
| }); |
I'm hearing reports of the Google Drive integration used to track dismantled items is misbehaving. This is tricky for me to debug because its not happening to me, and I can't see users stored inventory as the database is private to your Google Drive.
To help me out, there's a few things I'm trying to collect.
- What device do you use to access the website?
- If you use multiple devices, does it behave differently on the different computers?
- Do you have your Bungie account connected to multiple platforms (e.g. Xbox and PC)? In the header on DestinySets.com, are there multiple platforms listed when you click your gamertag?
Additionally, would you mind heading to https://destinysets.com/debug and wait a few seconds for things to load. There's two things here that we're interested in:
This file contains hidden or 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
| class Base { | |
| constructor() { | |
| this.hello = 'world'; | |
| } | |
| } | |
| class Wowee extends Base { | |
| constructor() { | |
| super(); | |
| } |
This file contains hidden or 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
| function objectivesFromVendors(data) { | |
| // return fp.flow( | |
| // fp.flatMap(character => character.itemComponents), | |
| // fp.flatMap(vendor => vendor.plugStates.data), | |
| // fp.flatMap(plugStates => plugStates.plugObjectives) | |
| // )(data); | |
| return fp.flatMap( | |
| character => | |
| fp.flatMap( |
- Get Milestones from
/Platform/Destiny2/Milestones/ - Flashpoint (it's actually referred to as Hotspot in the defs) hash is
463010297 milestones[463010297].availableQuests[0].questItemHashis the hash that will tell you where the Flashpoint is- Use the Flashpoint quest item hash to infer where Xur is
| Ghost | Item Hash | Ghost perk type |
|---|---|---|
| Pintail Ghost | 89965904 | Io |
| Iris Map Shell | 89965905 | EDZ |
| Viceroy Shell | 89965906 | Titan |
| Upward Climber Shell | 89965907 | Titan |
| Captaincy Shell | 89965908 | Strike, Vanguard |
| Precious Metals Shell | 89965909 | Mercury |
| Kaleidoscope Shell | 89965910 | EDZ |
| In Fine Omnium Shell | 89965911 | Mercury |
This file contains hidden or 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
| import 'isomorphic-fetch'; // for older browsers https://caniuse.com/#search=Fetch | |
| import React, { Component } from 'react'; | |
| import 'styles.css'; | |
| export default class Weapon extends Component { | |
| componentDidMount() { | |
| const options = { | |
| headers: { | |
| 'x-api-key': 'abc-123' |