asturia
Minion
This is a part of my buff script, but it fails when I do not have enough mp to cast it.
can anyone have a look at it and give me some recommandations on how to improve it?
can anyone have a look at it and give me some recommandations on how to improve it?
Code:
while( have_effect( $effect[leash of linguini]) < my_adventures())
{
restoremp();
int amountleft = my_adventures() - have_effect( $effect[leash of linguini]);
int touse = (amountleft / 10) + 1;
use_skill( touse, $skill[leash of linguini]);
}