Jump to content
  • 0

Item status only for certain level


badneko

Question


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  37
  • Reputation:   1
  • Joined:  06/09/14
  • Last Seen:  

For example

all stats + 3 (level <70)

also how desactivate this on certan maps?

can be setted in the item too ?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Content Moderator
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  639
  • Reputation:   596
  • Joined:  11/25/11
  • Last Seen:  

Well, on item script just:

if (BaseLevel < 70) bonus bAllStats,3;

It reads: If BaseLevel is less than 70, give All Stats + 3.

And, for limiting it on certain maps, it's better to disable the item on that specific map, but, you can:

if (strcharinfo(3) != "prontera") bonus bAllStats,3;

It reads: If current map isn't prontera, give All Stats + 3.

 

But if it's several maps, I, again, would prefer to use db/item_noequip.txt.

  • Upvote 1
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...