VegaBoy Posted May 28, 2022 Posted May 28, 2022 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?
Amenadiel Posted May 28, 2022 Posted May 28, 2022 (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 May 28, 2022 by Amenadiel
VegaBoy Posted May 29, 2022 Author Posted May 29, 2022 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!
Recommended Posts