Jump to content

Recommended Posts

Posted

how do I do to create a raid boss for an event, where only his drop falls on the ground and any player who is in a certain area at the time of the drop can pick it up?

Posted (edited)

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
Posted
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!

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


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..