Hello rAthena.
I have a problem with this script (originally by AnnieRuru). In this menu, it shows each pet in my possession. But what I want is to only make it show the pets with 1000 intimacy / loyalty.
Can someone please take a look at it and help me how to do that? Thank you very much.
edit* To clarify, I know getpetinfo would do the trick, but I need the script to check the intimacy as the pet is in its EGG and not outside of it, hence why getpetinfo does not work.
getinv
the word "impossible" doesn't exist in my dictionary however for this kind of monster vs monster fighting system, I suggest using mob controller system mob_controller_20140102.patch
- script kfkjsbdf -1,{
getmobdata .ai_action[AI_ACTION_SRC], .@mob;
attachrid .@mob[4];
@summon = 0;
end;
OnInit:
bindatcmd "pokemon", strnpcinfo(0)+"::Onaaa", 99,99;
end;
Onaaa:
if ( @summon ) {
message strcharinfo(0), "You already summon a pet";
end;
}
if ( getpetinfo(PET_CLASS) ) {
message str