Skip to content

Instantly share code, notes, and snippets.

View stellarLuminant's full-sized avatar
💫
dev is difficult

stella stellarLuminant

💫
dev is difficult
View GitHub Profile
@stellarLuminant
stellarLuminant / sumPotsToMax.js
Created September 21, 2020 21:11
Muledump: Potions to Max for All Chars
{
// 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.