Jump to content
  • 0
DanialFX

Headgear with custom effect

Question

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  /ok 

Edited by DanialFX
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

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.

  • Upvote 1
Link to comment
Share on other sites


*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.
Link to comment
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.   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.



×
×
  • Create New...

Important Information

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