Jump to content
  • 0

How make a Item Combo with a Pet


Nydhogg

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  06/23/18
  • Last Seen:  

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

  • Group:  Content Moderator
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  639
  • Reputation:   596
  • Joined:  11/25/11
  • Last Seen:  

Do the opposite.

You may keep the description as that but apply the script effect on the pet itself to check if the item is equipped.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  06/23/18
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  8
  • Reputation:   4
  • Joined:  12/04/17
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  06/23/18
  • Last Seen:  

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

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  12/12/19
  • Last Seen:  

someone can send this item script? 19163 Catharina, please?

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...