Jump to content

[PY] Info can/cannot drop in mobs and stones


Recommended Posts

Hello community,

I decided to create a mini function in python for my server that adds the information if the player can drop or not on mobs and stones.


@root/uitarget.py (Adapt to your code)

				if ((player_level > monsterLevel) and abs(player_level-monsterLevel) > 15):
					self.AppendTextLine("|cffD14646You can't drop items {}.".format("in this metin" if is_stone else "in this monster"))
					# self.AppendTextLine("Reason: The difference in levels is more than 15.")
					self.AppendTextLine("|cff8cf774You can drop items {}.".format("in this metin" if is_stone else "in this monster"))


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.

Reply to this topic...

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...