Jump to content
  • 0

Headgear with custom effect


DanialFX

Question


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  43
  • Reputation:   0
  • Joined:  02/10/14
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  


*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


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  43
  • Reputation:   0
  • Joined:  02/10/14
  • Last Seen:  

Thank you Euphy.  /no1

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...