/** * Actions: * * <ul> * <li>Check if the killing object is a player, and then find the party they belong to. * <li>Add a blood offering item to the leader of the party. * <li>Update the party leader's inventory to show the new item addition. * </ul> */ @Override public void doItemDrop(L2Character lastAttacker) { L2PcInstance killingChar = null; if (!(lastAttacker instanceof L2PcInstance)) { return; } killingChar = (L2PcInstance) lastAttacker; L2Party associatedParty = killingChar.getParty(); if (associatedParty == null) { return; } L2PcInstance partyLeader = associatedParty.getLeader(); L2ItemInstance addedOfferings = partyLeader .getInventory() .addItem( "Sign", SevenSignsFestival.FESTIVAL_OFFERING_ID, _bonusMultiplier, partyLeader, this); InventoryUpdate iu = new InventoryUpdate(); if (addedOfferings.getCount() != _bonusMultiplier) { iu.addModifiedItem(addedOfferings); } else { iu.addNewItem(addedOfferings); } partyLeader.sendPacket(iu); super.doItemDrop(lastAttacker); // Normal drop }