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
{ | |
// JS Muledump script for summing up pots to max across all characters currently in view. | |
// "Character Stats: Left to max" option needs to be enabled for this to work. | |
// Paste this in Console after muledump fully loads. | |
// Explanation: | |
// .char .sname gets the elements that read the stat name i.e. "HP" or "ATT" | |
// check this element to make sure it's the stat we want | |
// the element directly below this one is the one with the actual value | |
// make sure that the child is .stat.max as that ensures that it calculates the left-to-max value. |