Zirius 1 Posted August 21, 2014 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! Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted August 21, 2014 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; 1 Zirius reacted to this Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted August 21, 2014 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 Quote Share this post Link to post Share on other sites
0 Zirius 1 Posted August 21, 2014 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. Quote Share this post Link to post Share on other sites
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