Enhancements
Apply enhancements and equip matching gear from scripts.
api.shop.enhanceItem() applies or upgrades an enhancement.
api.inventory.equipByEnhancement() equips an inventory
item that already has a matching enhancement.
How enhancement selectors work
Pass the first enhancement label as enhancement and the second, if present,
as special.
// Lucky
{ enhancement: "lucky" }
// Fighter, Dauntless
{
enhancement: "fighter", // or forge
special: "dauntless",
}
Unique names can be used on their own:
dauntless,vim, andvainglorywork on their own.- For
Grimskull, Hearty, useheartyon its own or pass both labels. - Awe traits need a pattern;
spiral carvedoes not work on its own.
Names are case-insensitive. Extra spaces and straight or curly apostrophes do
not matter. Shortcuts such as dtl, ely, and abso are also accepted.
Apply an enhancement
yield* api.shop.enhanceItem("ArchPaladin", {
enhancement: "lucky",
});
Lucent opens the corresponding shop and applies the highest matching level
your character can use and buy. Add special when the enhancement has a
trait:
yield* api.shop.enhanceItem("My Weapon", {
enhancement: "lucky",
special: "spiral carve",
});
Equip by enhancement
yield* api.inventory.equipByEnhancement({
enhancement: "vim",
});
Lucent searches every equipment slot and equips the highest-level match. Add
slot when the equipment type matters:
yield* api.inventory.equipByEnhancement({
enhancement: "forge",
slot: "helm",
});
A plain forge selector requires either slot or special. slot accepts
"weapon", "class", "helm", or "cape"; "class" means a Class item,
not cosmetic armor.
Supported enhancements
Basic enhancements
Available for every equipment slot.
FighterThiefHybridWizardHealerSpellbreakerLucky
Awe weapon patterns
FighterThiefHybridWizardHealerLucky
Awe weapon traits
Spiral CarveAwe BlastHealth VampMana VampPowerword DIE
Forge weapons
ForgeForge, LacerateForge, SmiteForge, ValianceForge, Arcana's ConcertoDepths, AcheronWizard, ElysiumForge, PraxisFighter, DauntlessForge, Ravenous
Forge helms
ForgeVim, EtherExamen, EtherPneuma, ClairvoyanceAnima, ClairvoyanceGrimskull, Hearty
Forge capes
ForgeForge, AbsolutionForge, AvariceForge, VaingloryForge, PenitenceForge, Lament