Changeset 2377
Author: zdead
(2010/06/23 16:53) Over 1 year ago
[1.9] Armsfusion implementation on server side, secondary weapon stats are applied to the first weapon when hitting enemy. No support for client display of fusioned stats for now.
Author: zdead
(2010/06/23 16:53) Over 1 year ago
[1.9] Armsfusion implementation on server side, secondary weapon stats are applied to the first weapon when hitting enemy. No support for client display of fusioned stats for now.
{{public SM_INVENTORY_UPDATE(Item item){List<Item> list = new ArrayList<Item>();list.add(item);items = list;}{{PacketSendUtility.sendPacket(player, new SM_INVENTORY_UPDATE(firstItem));PacketSendUtility.sendPacket(player, new SM_UPDATE_ITEM(firstItem));{{{{{{{{{{int damages = Math.round(baseDamages * ((sgs.getCurrentStat(StatEnum.KNOWLEDGE) / 100f) + (sgs.getCurrentStat(StatEnum.BOOST_MAGICAL_SKILL) / 1000f)));totalBoostMagicalSkill += sgs.getCurrentStat(StatEnum.BOOST_MAGICAL_SKILL);