Jump to content
  • 0
Nydhogg

How make a Item Combo with a Pet

Question

hi, i want do implement the script of this item, i tried adding the combo in item_combo_db like that

19163:9055,{ bonus2 bHPRegenRate,500,5000; bonus2 bSPRegenRate,20,5000; if(getpetinfo(PETINFO_INTIMATE) > 900) { bonus2 bHPRegenRate,500,5000;  bonus2 bSPRegenRate,20,5000; } }

but the effect doesn`t apply, neither the basic bonus, how to do this?

image.png.991b5a35a5f9f5dd27d9c58adcf3e341.png

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

but it still works when i use de pet first and equip the hat? or just when i equip the hat first then the pet?

Link to comment
Share on other sites

  • 0
1370,SUCCUBUS,Succubus,12373,9055,10037,6113,80,60,10,100,250,0,200,150,0,0,300,300,800,{},{ bonus2 bHPDrainRate,30,5; bonus bMaxHPrate,1; },{ bonus2 bHPDrainRate,30,5; if (isequipped(19163)) { bonus2 bHPRegenRate,500,5000; bonus2 bSPRegenRate,20,5000; } },{},{}

do on pet script is good and work (hatch the pet first or equip the hat first)

Edited by yoonjunho
Link to comment
Share on other sites

  • 0
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?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.