Project

General

Profile

 

Also available in: PDF

How to Enchant an Item

To use this test script, create a file in your /innerspace/scripts folder called EnchantTest.iss and place the entire text below.   Then, you can run the script by typing the following command in the InnerSpace console (while in the game):   run EnchantTest


function main()
{
    variable int WeaponID = ${Me.Equipment[primary].ID}
    
    Me.Inventory[scroll of combat]:Use
    wait 5
    Me.Inventory[scroll of combat]:EnchantItem[${WeaponID}]
    wait 5
    do
    {
        waitframe
    }
    while ${Me.CastingSpell}
    press esc
}