Jump to content
  • 0

Item Unequip at lv 90+


Rivers

Question


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  236
  • Reputation:   46
  • Joined:  12/04/13
  • Last Seen:  

I get the item to work but it keeps working even after level 90. How do I get it to remove the effect or simply just not allow to be equipped at level 90+?
 

{ if (BaseLevel >90) unequip (getitemslots(2393)); bonus bMaxHP,2500; bonus bMaxSP,500; },{},{}

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   131
  • Joined:  11/10/12
  • Last Seen:  

why not do it in reverse? if level is below 90 then add bonus. If greater than 90, then no effect?

{ if(BaseLevel<90) {bonus bMaxHP,2500; bonus bMaxSP,500;} },{},{}

Not sure if this is correct though. If a player is 90 or above, bonus wont work.

Edited by LuLu
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  236
  • Reputation:   46
  • Joined:  12/04/13
  • Last Seen:  

Thanks this worked. ?

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

I think change the equipment  min/max equip level should do

and *getitemslots(...) return the total slot of equipment has, not the equipment position.

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