Tachi Posted March 1, 2016 Share Posted March 1, 2016 (edited) hello folks , how i can make 1 raid boss to drop 1 item for the fulll party or for the party who did more dmg :) sorry for my english i need java code or just from xml :? Edited March 1, 2016 by Tachi Quote Link to comment Share on other sites More sharing options...
0 SQL Developer Posted March 1, 2016 Share Posted March 1, 2016 (edited) check this post http://www.maxcheaters.com/topic/199170-noblesse-killing-barakiel-l2jacis/ Delete the nobless status and the if nobless checks and keep the members.getInventory().addItem("Noblesse Tiara",7694,1,members,null); and just change the drop Edited March 1, 2016 by L2LostWard Quote Link to comment Share on other sites More sharing options...
0 Tachi Posted March 2, 2016 Author Share Posted March 2, 2016 check this post http://www.maxcheaters.com/topic/199170-noblesse-killing-barakiel-l2jacis/ Delete the nobless status and the if nobless checks and keep the members.getInventory().addItem("Noblesse Tiara",7694,1,members,null); and just change the drop i have 1 npc for nobles manager..he ask you to kill 4 rb like http://postimg.org/image/74uzkd52f/ i wand to drop for full party and autopick-up inventori quest item..not normal drop down :) Quote Link to comment Share on other sites More sharing options...
0 SQL Developer Posted March 2, 2016 Share Posted March 2, 2016 this is the correct read it how its work i edit it for you /* * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */ package net.sf.l2j.gameserver.scripting.scripts.custom; import net.sf.l2j.gameserver.model.actor.L2Npc; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.scripting.Quest; public class RaidPartyDrop extends Quest { public RaidPartyDrop() { super(-1, "custom"); addKillId(25325); <------------- Change the raid id who you like to } @Override public String onKill(L2Npc npc, L2PcInstance player, boolean isPet) <--------When you kill raid { if (player.getParty() != null) <---------IF player who kill got a party { for (L2PcInstance members : player.getParty().getPartyMembers()) <-------The players who is on the party { if (!members.isInsideRadius(npc, 2000, false, false)) <------If player is near raid //check { members.sendMessage("You Was On Wrong Place"); <----------If players wasnt near send msg about "fail" continue; } if (!members.isInsideRadius(npc, 2000, true, true)) <--- if member is in radius correct check { members.getInventory().addItem("Noblesse Tiara",7694,1,members,null); <--- change the ids and give to all party the item which you like to members.sendMessage("You Are Noblesse now."); <--- chance the msg or delete it } members.broadcastUserInfo(); } } return null; } public static void main(String args[]) { new PartyRaidDrop(); } } Quote Link to comment Share on other sites More sharing options...
0 SweeTs Posted March 2, 2016 Share Posted March 2, 2016 if (!members.isInsideRadius(npc, 2000, false, false)) <------If player is near raid //check { members.sendMessage("You Was On Wrong Place"); <----------If players wasnt near send msg about "fail" continue; } if (!members.isInsideRadius(npc, 2000, true, true)) <--- if member is in radius correct check { members.getInventory().addItem("Noblesse Tiara",7694,1,members,null); <--- change the ids and give to all party the item which you like to members.sendMessage("You Are Noblesse now."); <--- chance the msg or delete it } Fail. Quote Link to comment Share on other sites More sharing options...
0 SQL Developer Posted March 2, 2016 Share Posted March 2, 2016 You can propably delete if (!members.isInsideRadius(npc, 2000, true, true)) <--- if member is in radius correct check and put this after continue members.getInventory().addItem("Noblesse Tiara",7694,1,members,null); <--- change the ids and give to all party the item which you like to members.sendMessage("You Are Noblesse now."); <--- chance the msg or delete it P.S i didnt test it live if its work but one way is for sure Quote Link to comment Share on other sites More sharing options...
Question
Tachi
hello folks , how i can make 1 raid boss to drop 1 item for the fulll party or for the party who did more dmg :)
sorry for my english
i need java code or just from xml :?
Edited by TachiLink to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.