Good morning dear community, for me it is a pleasure to return to rathena.
This time I ask for help with the isequiped check, I am working in a low rate server without sp consumables, and I came up with the idea of creating an additional bonus for the lower item id: carrot in mout "https://ratemyserver.net/index.php?page=re_item_db&item_id=18683".
I want this item, while being equipped on lower head, to cause carrots to restore sp when consumed.
function script zanabria {
if (isequipped(18683)) specialeffect2 332;
itemheal rand(0,0),rand(2,4);
end;
}
This is the aditional sp restore effect while equiped, but I NEED help here for the else exception, because it sill restoring sp withput the equiped carrot in mouth.
Question
iraciz
Good morning dear community, for me it is a pleasure to return to rathena.
This time I ask for help with the isequiped check, I am working in a low rate server without sp consumables, and I came up with the idea of creating an additional bonus for the lower item id: carrot in mout "https://ratemyserver.net/index.php?page=re_item_db&item_id=18683".
I want this item, while being equipped on lower head, to cause carrots to restore sp when consumed.
I made the function already:
515,Carrot,Carrot,0,15,,20,,,,,0xFFFFFFFF,7,2,,,,,,{ itemheal rand(18,20),0; callfunc "zanabria"; },{},{}
Now I need help in this part:
function script zanabria {
if (isequipped(18683)) specialeffect2 332;
itemheal rand(0,0),rand(2,4);
end;
}
This is the aditional sp restore effect while equiped, but I NEED help here for the else exception, because it sill restoring sp withput the equiped carrot in mouth.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.