Jump to content
  • 0

easy question about if(Baselevel == 99 ) then


Onairda

Question


  • Group:  Members
  • Topic Count:  71
  • Topics Per Day:  0.03
  • Content Count:  167
  • Reputation:   8
  • Joined:  12/30/16
  • Last Seen:  

hi how can i make this kind of script in my Item_db for example 5518 Bahpo horns

if Player level 99 wearing it . it gives allstats + 10 

but if Player is level 255 it gives allstats + 50

Thankyou

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  6
  • Reputation:   3
  • Joined:  05/28/17
  • Last Seen:  

modify your item_db.txt like  

 

..........{if(BaseLevel>=99) { bonus bAllStats,10; } if(BaseLevel==255) { bonus bAllStats,50; }},{},{}

 

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