Jump to content
  • 0

Item Restriction Level


kaixler44

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  07/13/14
  • Last Seen:  

Item Restriction Level.

example main gauche limit level 50 after you reach lvl 51 you will not able to equip it again.  how to do it? it's really good for freebies npc

thanks!

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  509
  • Reputation:   80
  • Joined:  11/20/11
  • Last Seen:  

place this code to your item script, change the item id with the item id where this script belong to

if (BaseLevel >50) unequip (getitemslots(<item ID>));
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  07/13/14
  • Last Seen:  

 

place this code to your item script, change the item id with the item id where this script belong to

if (BaseLevel >50) unequip (getitemslots(<item ID>));

its working on main gauche

1208,Main_Gauche_,Main Gauche,5,2400,,600,43,,1,4,0xFE9F7EEF,7,2,2,1,1,1,1,{if (BaseLevel >50) unequip (getitemslots(1208));},{},{}

 

but the code is not working on my costume item idunno why

Edited by kaixler44
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  509
  • Reputation:   80
  • Joined:  11/20/11
  • Last Seen:  

you have to learn thing from

doc/script_command.txt

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  07/13/14
  • Last Seen:  

for example for my lower headgear wing: here is the full script

20005,_bloodybutterflywings,bloodbutterfly_wings,5,20,,0,,2,,0,0xFFFFFFFF,7,2,1,,1,0,2005,{ bonus bAllstats,10; },{},{}

 

where should i put this one >

 

if(BaseLevel>200){ unequip EQI_COSTUME_HEAD_LOW; dispbottom "Unable to equip."; }

 

thanks

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  974
  • Reputation:   41
  • Joined:  11/13/11
  • Last Seen:  

cj /omg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  07/13/14
  • Last Seen:  

Problem solve script need some editing! thank you guys!

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