int upgrade

This commit is contained in:
2026-11-12 22:14:32 +01:00
parent f4ec5c2fca
commit 667ef93637
+9
View File
@@ -0,0 +1,9 @@
async function apply_int() {
await smart_move(find_npc("newupgrade"));
var slot = character.items.findIndex(function (item) {
return item && item.name === "coat" && (item.level || 0) === 0 && !item.stat_type && !item.l;
});
var scroll = locate_item("intscroll");
if (slot === -1 || scroll === -1) return;
await upgrade(slot, scroll);
}