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

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock