[Help] Unique summon pet

09/21/2018 21:37 mikasuki#1
Only happen with unique summon pet.

[Only registered and activated users can see links. Click Here To Register...]


I'm using this command:
#insert_summon_by_monster_id(300004)

And with this command the tame card come grey color and can't equip:
/run insert_item(540038, 1, 1, 1, -2147483648, "charname")

What I'm doing wrong?:confused:
09/21/2018 23:08 ThunderNikk#2
/run insert_summon_by_summon_id(summon_code)

but a staged pet will still come broken and need repair unless you write a special little lua script for the function...

I did not create this script...

Code:
function insert_staged_pet(summon_code,enhance,card_id)


    if enhance > 0 and enhance < 6 then
        insert_summon_by_summon_id(summon_code)
        local petcard_array = get_item_handle_list(card_id)
        local new_pet = table.getn(petcard_array)
        set_item_enhance(petcard_array[new_pet],enhance)
    else 
       message("Error. Use an enhance-value between 1 and 5!")
    end

end
Add this to your etc script functions lua

Then use the command

/run insert_staged_pet(summon_code,enhance,card_id)
09/23/2018 01:36 mikasuki#3
Thanks!