Nydhogg Posted June 24, 2018 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 3 Reputation: 0 Joined: 06/23/18 Last Seen: August 26, 2018 Share Posted June 24, 2018 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? Quote Link to comment Share on other sites More sharing options...
0 Haziel Posted June 24, 2018 Group: Content Moderator Topic Count: 22 Topics Per Day: 0.00 Content Count: 639 Reputation: 609 Joined: 11/25/11 Last Seen: March 7 Share Posted June 24, 2018 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. Quote Link to comment Share on other sites More sharing options...
0 Nydhogg Posted June 24, 2018 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 3 Reputation: 0 Joined: 06/23/18 Last Seen: August 26, 2018 Author Share Posted June 24, 2018 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? Quote Link to comment Share on other sites More sharing options...
0 yoonjunho Posted June 24, 2018 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 8 Reputation: 4 Joined: 12/04/17 Last Seen: September 5, 2018 Share Posted June 24, 2018 (edited) 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 June 24, 2018 by yoonjunho Quote Link to comment Share on other sites More sharing options...
0 Nydhogg Posted June 25, 2018 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 3 Reputation: 0 Joined: 06/23/18 Last Seen: August 26, 2018 Author Share Posted June 25, 2018 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? Quote Link to comment Share on other sites More sharing options...
0 fidelito Posted March 12, 2020 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 2 Reputation: 0 Joined: 12/12/19 Last Seen: July 25, 2020 Share Posted March 12, 2020 someone can send this item script? 19163 Catharina, please? Quote Link to comment Share on other sites More sharing options...
Question
Nydhogg
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?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.