1370,SUCCUBUS,Succubus,12373,9055,10037,6113,80,60,10,100,250,20,200,150,0,0,300,300,800,{ bonus2 bHPDrainRate,10,5; if (isequipped(19163)) {bonus2 bHPRegenRatee,500,5000; bonus2 bSPRegenRate,20,5000;} },{ bonus2 bHPDrainRate,30,5; bonus bMaxHPrate,1; if (isequipped(19163)) {bonus2 bHPRegenRate,500,5000; bonus2 bSPRegenRate,20,5000;} }
I put this script into pet file, but the bonus is not correct
When the hat (19163) is equipped with the pet -> bonus2 bHPRegenRatee,500,5000; bonus2 bSPRegenRate,20,5000; //this bonus not working
When the pet intimacy is loyal and equipped with the hat -> bonus2 bHPRegenRatee,500,5000; bonus2 bSPRegenRate,20,5000; //this bonus works
the final bonus with the pet loyal is supposed to be -> bonus2 bHPRegenRatee,1000,5000; bonus2 bSPRegenRate,40,5000;
exist a way to use the function isequipped in the hat script file referencing the pet equipped?