int upgrade
This commit is contained in:
@@ -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);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user