mexis15 Posted September 21, 2012 Posted September 21, 2012 how i change at my server the shoulshots to be aftomatic active?
0 Tryskell Posted September 21, 2012 Posted September 21, 2012 You put soulshots in the shortcut bar and you right click on it. Tadam, automation. @pplwhowillreplytome, I know, I'm an evil troll.
0 Trance Posted September 21, 2012 Posted September 21, 2012 What's Tryskell trying to say? Go to EnterWorld.java And etc. Tadam(activeChar); private void Tadam(L2PcInstance activeChar) { int soulId = -1; int spiritId = -1; int bspiritId = -1; if (!activeChar.isDead() && activeChar.getActiveWeaponItem() != null) { switch (activeChar.getActiveWeaponItem().getCrystalType()) { case L2Item.CRYSTAL_NONE: soulId = 1835; spiritId = 2509; bspiritId = 3947; break; case L2Item.CRYSTAL_D: soulId = 1463; spiritId = 2510; bspiritId = 3948; break; case L2Item.CRYSTAL_C: soulId = 1464; spiritId = 2511; bspiritId = 3949; break; case L2Item.CRYSTAL_B: soulId = 1465; spiritId = 2512; bspiritId = 3950; break; case L2Item.CRYSTAL_A: soulId = 1466; spiritId = 2513; bspiritId = 3951; break; case L2Item.CRYSTAL_S: case L2Item.CRYSTAL_S80: case L2Item.CRYSTAL_S84: soulId = 1467; spiritId = 2514; bspiritId = 3952; break; } if ((soulId > -1) && activeChar.getInventory().getInventoryItemCount(soulId, -1) > 0) { activeChar.addAutoSoulShot(soulId); activeChar.sendPacket(new ExAutoSoulShot(soulId, 1)); // System message SystemMessage sm = new SystemMessage(SystemMessageId.USE_OF_S1_WILL_BE_AUTO); sm.addItemName(activeChar.getInventory().getItemByItemId(soulId)); activeChar.sendPacket(sm); } if ((bspiritId > -1) && activeChar.getInventory().getInventoryItemCount(bspiritId, -1) > 0) { activeChar.addAutoSoulShot(bspiritId); activeChar.sendPacket(new ExAutoSoulShot(bspiritId, 1)); // System message SystemMessage sm = new SystemMessage(SystemMessageId.USE_OF_S1_WILL_BE_AUTO); sm.addItemName(activeChar.getInventory().getItemByItemId(bspiritId)); activeChar.sendPacket(sm); } else if ((spiritId > -1) && activeChar.getInventory().getInventoryItemCount(spiritId, -1) > 0) { activeChar.addAutoSoulShot(spiritId); activeChar.sendPacket(new ExAutoSoulShot(spiritId, 1)); // System message SystemMessage sm = new SystemMessage(SystemMessageId.USE_OF_S1_WILL_BE_AUTO); sm.addItemName(activeChar.getInventory().getItemByItemId(spiritId)); activeChar.sendPacket(sm); } activeChar.rechargeAutoSoulShot(true, true, false); } }
Question
mexis15
how i change at my server the shoulshots to be aftomatic active?
3 answers to this question
Recommended Posts