I've made some custom items with bonus scripts to work, like the vendor's ring, falcon ring, novice suit, etc.
But i've got a little problem in my homunculus clip.
I can call a homunculus, do homun skills, resurrect homun, and rest, but if i unequip the homunculus clip, the homun is still there.
This is my homunculus clip item script:
8048,Homunculus_Clip,Homunculus_Clip,5,30000,10,1000,,,,2,0xFFFFFFFF,7,2,136,,1,,,{ skill "AM_CALLHOMUN",1; skill "AM_REST",1; skill "AM_RESURRECTHOMUN",1;},{},{}
I dunno what to put in the OnEquip_Script, and OnUnequip_Script.
i based that script on my vendor's ring item script that worked:
8047,Vendors_Ring,Vendors_Ring,5,30000,10,1000,,,,2,0xFFFFFFFF,7,2,136,,1,,,{ skill "MC_PUSHCART",1; skill "MC_VENDING",1; skill "MC_CHANGECART",1; },{ setcart 1; },{ setcart 0; }
what do i lack on my homunculus clip script?
SOLVED! Thanks to all of you! especially malufett! :>
8048,Homunculus_Clip,Homunculus_Clip,5,30000,10,1000,,,,2,0xFFFFFFFF,7,2,136,,1,,,{ skill "AM_CALLHOMUN",1; skill "AM_REST",1; skill "AM_RESURRECTHOMUN",1;},{},{ atcommand "@useskill 244 1 " + strcharinfo(0); }