Jump to content

Unrestricted Pick Up on a drop from a specific npc


Recommended Posts

l2raidboss instance

if (getNpcId()== 29001)//test
            {
                if(killer.isInsideRadius(getX(), getY(), getZ(), 2000, false, false))
                {
                    killer.addItem("Adena", itemid, 500, player, true);
                    killer.addItem("adena", itemid, 1, player, true);
                }            
        }

Edited by Amenadiel
Link to comment
Share on other sites

16 hours ago, Amenadiel said:

l2raidboss instance

if (getNpcId()== 29001)//test
            {
                if(killer.isInsideRadius(getX(), getY(), getZ(), 2000, false, false))
                {
                    killer.addItem("Adena", itemid, 500, player, true);
                    killer.addItem("adena", itemid, 1, player, true);
                }            
        }

Thank you very much, I reworded something and got it, thanks to your note!

Link to comment
Share on other sites

  • Vision locked this topic
Guest
This topic is now closed to further replies.


×
×
  • Create New...