Last active
July 30, 2016 00:20
-
-
Save wein3967/affb8e140623207de126cbf985c2d2d9 to your computer and use it in GitHub Desktop.
This is a script that grabs all your DIM items across all characters and puts them into a single array. From there you can examine, filter, etc.
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
// MAIN CODE | |
var stuff = angular.element(document.body).injector().get('dimStoreService').getStores(); | |
var guardian1_Items = (stuff.length >= 2) ? stuff[0].items : []; | |
var guardian2_Items = (stuff.length >= 3) ? stuff[1].items : []; | |
var guardian3_Items = (stuff.length >= 4) ? stuff[2].items : []; | |
var vaultItems = stuff[stuff.length - 1].items; | |
var allItems = guardian1_Items.concat(guardian2_Items, guardian3_Items, vaultItems); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment