Jump to content
  • 0

Does anyone know this ?


Question

10 answers to this question

Recommended Posts

Posted

i made it 11 but it wont heal


12270,Cold_Medicine,Cold Medicine,11,20,,10,,,,,0xFFFFFFFF,7,2,,,50,,,{ percentheal 25,25; },{},{}

That's the script

Posted

try this o:! it will consumbe but also give you another potion, so basiclly no consume lol

11501,Light_White_Pot,Light White Potion,0,1200,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ percentheal 25,0; getitem 11501,1; },{},{}
Posted

Type 11 runs the script and won't consume the item if an "itemskill" command isn't issued. As it was written, this is the correct entry:

12270,Cold_Medicine,Cold Medicine,11,20,,10,,,,,0xFFFFFFFF,7,2,,,50,,,{ percentheal 25,25; },{},{}



It does in fact heal, but a healing effect is not shown. Add this to the item script if you want the special effect:
specialeffect2 EF_HEAL;


Tested just a moment ago; if this isn't working for you, try it on a fresh copy of rAthena.

 

*Moved to Database Requests

Posted

may i ask, why not just this?

12270,Cold_Medicine,Cold Medicine,0,20,,10,,,,,0xFFFFFFFF,7,2,,,50,,,{ percentheal 25,25; specialeffect2 EF_HEAL; getitem 12270,1;},{},{}

so at the end, the item is not "decreasing" ?

 

just asking o:!

Posted

may i ask, why not just this?

12270,Cold_Medicine,Cold Medicine,0,20,,10,,,,,0xFFFFFFFF,7,2,,,50,,,{ percentheal 25,25; specialeffect2 EF_HEAL; getitem 12270,1;},{},{}

so at the end, the item is not "decreasing" ?

 

just asking o:!

 

Type 11 items are not consumed unless an "itemskill" command is issued when used; they simply stay in your inventory. Your method is a nice workaround, if you disregard the message displayed every time the item is consumed (example: You got 1 Infinite Fly Wing. You got 1 Infinite Fly Wing. You got 1 Infinite Fly Wing.) and the risk of item loss (example: Player has autoloot enabled and becomes overweight or exceeds inventory capacity; You dropped 1 Infinite Fly Wing.).

Posted

oh how cool o:! i will make a super pot for my server then like him requested o:!

 

this should just work then?

12270,Cold_Medicine,Cold Medicine,11,20,,10,,,,,0xFFFFFFFF,7,2,,,50,,,{ percentheal 25,25; specialeffect2 EF_HEAL; },{},{}

well i don't like the heal effect, i think many players using it in woe would cause lag @.@ 

 

huh i believe there was an option to turn off when you want to notice that you got or dropped an item o:!

12270,Cold_Medicine,Cold Medicine,11,20,,10,,,,,0xFFFFFFFF,7,2,,,50,,,{ percentheal 25,25; },{},{}
Posted

huh i believe there was an option to turn off when you want to notice that you got or dropped an item o:!

12270,Cold_Medicine,Cold Medicine,11,20,,10,,,,,0xFFFFFFFF,7,2,,,50,,,{ percentheal 25,25; },{},{}

 

This is true, but players shouldn't be forced to turn off all pick messages just because one item is spamming their message log.


 

I think i should say Thank You.... This helped me a lot Euphy and Missingno ~

 

lol

 

You're very welcome!

Posted

 

huh i believe there was an option to turn off when you want to notice that you got or dropped an item o:!

12270,Cold_Medicine,Cold Medicine,11,20,,10,,,,,0xFFFFFFFF,7,2,,,50,,,{ percentheal 25,25; },{},{}

 

This is true, but players shouldn't be forced to turn off all pick messages just because one item is spamming their message log.


 

I think i should say Thank You.... This helped me a lot Euphy and Missingno ~

 

lol

 

You're very welcome!

 

 

you are right o:! better not turn that off for security o:!

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...