Papix Posted May 2, 2024 Report Share Posted May 2, 2024 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.") else: self.AppendTextLine("|cff8cf774You can drop items {}.".format("in this metin" if is_stone else "in this monster")) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.