Remembering ever-changing numbers for slots are a thing of the past!
In future scripts, please use
Code: Select all
require("scripts/globals/status");
at the top of your script (under the commented description is fine,) and then you may/shall use the following references in your calls to getEquipID or wherever you may need a slot number:
Code: Select all
SLOT_MAIN
SLOT_SUB
SLOT_RANGED
SLOT_AMMO
SLOT_HEAD
SLOT_BODY
SLOT_HANDS
SLOT_LEGS
SLOT_FEET
SLOT_NECK
SLOT_WAIST
SLOT_EAR1
SLOT_EAR2
SLOT_RING1
SLOT_RING2
SLOT_BACK
Also in this patch, I deleted some unneeded requires to settings, included the sneak/invis multiplier from settings in invisible, hide, camouflage, and sneak spells, and turned ON 12 TP per tick Meditate when Samurai is subbed