Just find where it calls the method that creates a ground item, and make it only call if it's not dropping what you don't want it to.
|
|
So I want to remove all loop half/tooth half/Crystal key drops from the drop table. Is there a way I can do this without going to every individual NPC and removing it from their drop table?
Thanks![]()
Nope, good luck.
Okay well since nobody can help me with this, I came up with something you may be able to help me with. What if I made it so a certain item ID changes to another ID when dropped by a monster, how would I go about doing that?

npc.java
place this:Code:sendDrop(Player player, Drop drop)
after you declare the variable dropName and its initialized.Code:String[] bannedDrops = { "loop half", "tooth half", "crystal key" }; for (String bannedD : bannedDrops) { if (dropName != null && dropName.contains(bannedD)) { player.getPackets().sendGameMessage("Sucks to be you! You cant have " + dropName + "!!!!!!"); return; } }
plz rate comment & subskrebe if helpd
| « [Sprite Editor] Reduce image quality or delete child sprites. | Setup Vps » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |