Jump to content
  • 0
Sign in to follow this  
Zirius

Usable item effects?

Question

Hello! I created a custom usable item based on awakening potion, it works great, the problem is I am having trouble to mimic the effect of normal awakening potion.

 

Where do you edit that?

 

Thanks!

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

 

To the best of my knowledge (and the best of my knowledge on this dates from 2009), clients have some of the item effects hardcoded in, so in case you want to make an item show a special effect you should use the specialeffect2 script command (check out more at doc/script_commands.txt). For a list of special effects, you'll need this kinda unreadable list and/or the constants assigned to the list in db/const.txt

 

bro, do you have example?

 

I want my item to imitate the effect:

 

@effect 219

 

specialeffect2 219;

Share this post


Link to post
Share on other sites
  • 0

To the best of my knowledge (and the best of my knowledge on this dates from 2009), clients have some of the item effects hardcoded in, so in case you want to make an item show a special effect you should use the specialeffect2 script command (check out more at doc/script_commands.txt). For a list of special effects, you'll need this kinda unreadable list and/or the constants assigned to the list in db/const.txt

Share this post


Link to post
Share on other sites
  • 0

To the best of my knowledge (and the best of my knowledge on this dates from 2009), clients have some of the item effects hardcoded in, so in case you want to make an item show a special effect you should use the specialeffect2 script command (check out more at doc/script_commands.txt). For a list of special effects, you'll need this kinda unreadable list and/or the constants assigned to the list in db/const.txt

 

bro, do you have example?

 

I want my item to imitate the effect:

 

@effect 219

 

tried doing varieties of this:

 

{itemheal rand(325,405),0;atcommand @effect 207 22;}

 

but I cannot really get the proper function.

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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