DanialFX Posted February 19, 2014 Share Posted February 19, 2014 (edited) How can I add some effect on my headgear. Example. I want to add an @effect 120 on my headgear. 29868,Poring_Sack,Poring_Sack,4,20,,10,,10,,1,0xFFFFFFFF,7,2,512,,0,1,1967,{ bonus bAllStats,10; },{@effect 120},{} I know it's funny, i dont have any talent in scripting Edited February 19, 2014 by DanialFX Quote Link to comment Share on other sites More sharing options...
Euphy Posted February 20, 2014 Share Posted February 20, 2014 See: H> How to add special effect, item specialeffect / effect @@sandbox: We usually prefer the 'specialeffect' commands (in this case, Specialeffect2) to Misceffect to more visibly show that it's a player-based effect ('misceffect' will always check NPC data first). It doesn't make any practical improvements, but that's generally the standard. 1 Quote Link to comment Share on other sites More sharing options...
sandbox Posted February 20, 2014 Share Posted February 20, 2014 *misceffect <effect number>; This command, if run from an NPC object that has a sprite, will call up a specified effect number, centered on the NPC sprite. If the running code does not have an object ID (a 'floating' NPC) or is not running from an NPC object at all (an item script) the effect will be centered on the character who's RID got attached to the script, if any. For usable item scripts, this command will create an effect centered on the player using the item. A full list of known effects is found in 'doc/effect_list.txt'. The list of those that actually work may differ greatly between client versions. Quote Link to comment Share on other sites More sharing options...
DanialFX Posted February 20, 2014 Author Share Posted February 20, 2014 Thank you Euphy. Quote Link to comment Share on other sites More sharing options...
How can I add some effect on my headgear.
Example. I want to add an @effect 120 on my headgear.
29868,Poring_Sack,Poring_Sack,4,20,,10,,10,,1,0xFFFFFFFF,7,2,512,,0,1,1967,{ bonus bAllStats,10; },{@effect 120},{}I know it's funny, i dont have any talent in scripting
Edited by DanialFXLink to comment
Share on other sites