Jump to content
  • 0

Need function for dropitem when high karma


pedro chaves

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  06/20/18
  • Last Seen:  

Hi guys, i need help on my script

OnPcDieEvent i need take dropitem,randomized with equip and non equiped itens, based on calc of karma.
EX:
If (karmapoints >1000) dropitem random 10%

elseif (karmapoints > 2000) dropitem random 20%
...

 

and need to fiz nodropitem too

If (karmapoints == --1000) noitemdrop / or dropitem random 0%

 

 

thank you

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  06/20/18
  • Last Seen:  

6 minutes ago, pedro chaves said:

Hi guys, i need help on my script

OnPcDieEvent i need take dropitem,randomized with equip and non equiped itens, based on calc of karma.
EX:
If (karmapoints >1000) dropitem random 10%

elseif (karmapoints > 2000) dropitem random 20%
...

 

and need to fiz nodropitem too

If (karmapoints == --1000) noitemdrop / or dropitem random 0%

 

 

thank you

 

 

(just on PVP mode)

Edited by pedro chaves
(just on PVP mode)
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...