Jump to content

sammysam

Members
  • Posts

    4
  • Joined

  • Last visited

  • Feedback

    0%

About sammysam

Profile Information

  • Gender
    Male

sammysam's Achievements

Newbie

Newbie (1/16)

0

Reputation

1

Community Answers

  1. Hi guys, I have this code for cancel but its made for acis, is there anyone who could help me addapt to frozen? this is the code for acis. // Calculate the success chance following previous variables. if (calcCancelSuccess(effect.getPeriod(), diffLevel, skillPower, skillVuln, minRate, maxRate)) { + if (!cancelledBuffs.contains(effect.getSkill()) && !((L2PcInstance)activeChar).isInOlympiadMode()) + cancelledBuffs.add(effect.getSkill()); + // Stores the last canceled skill for further use. lastCanceledSkillId = effect.getSkill().getId(); @@ -105,6 +115,9 @@ effect.exit(); } + if (cancelledBuffs.size() > 0) + ThreadPoolManager.getInstance().scheduleGeneral(new CustomCancelTaskManager((L2PcInstance)target, cancelledBuffs), 10*1000); + // Remove 1 to the stack of buffs to remove. count--; this is l2jfrozen Cancel handler: http://pastebin.com/NsrYx7Nj -Where should I put that code for l2jfrozen?
  2. anyone know how to make jewels equipable? I added them to char_templates but they come on ur inventory and not equipped. edit: found it, if anyone wanna know how to equip jewels on new char (l2jfrozen) if (item.isEquipable()) if (newChar.getActiveWeaponItem() == null || !(item.getItem().getType2() != L2Item.TYPE2_WEAPON) || (item.getItem().getBodyPart() & L2Item.SLOT_NECK) > 0 || (item.getItem().getBodyPart() & L2Item.SLOT_L_EAR) > 0 || (item.getItem().getBodyPart() & L2Item.SLOT_R_EAR) > 0 || (item.getItem().getBodyPart() & L2Item.SLOT_L_FINGER) > 0 || (item.getItem().getBodyPart() & L2Item.SLOT_R_FINGER) > 0) newChar.getInventory().equipItemAndRecord(item);
  3. U have to make a new java project, just like acis with free version. You will need both gameserver and datapack , I can try help if u want, send me ur skype
  4. # Starting itens for fighter's classes StartingCustomItemsFighter = 352,1;2378,1;2493,1;2411,1;2425,1;2449,1;57,50000000;1463,2000; if (Config.CUSTOM_STARTER_ITEMS_ENABLED) { if (newChar.isMageClass()) { for (final int[] reward : Config.STARTING_CUSTOM_ITEMS_M) { if (ItemTable.getInstance().createDummyItem(reward[0]).isStackable()) newChar.getInventory().addItem("Starter Items Mage", reward[0], reward[1], newChar, null); else for (int i = 0; i < reward[1]; ++i) newChar.getInventory().addItem("Starter Items Mage", reward[0], 1, newChar, null); } } else { for (final int[] reward : Config.STARTING_CUSTOM_ITEMS_F) { if (ItemTable.getInstance().createDummyItem(reward[0]).isStackable()) newChar.getInventory().addItem("Starter Items Fighter", reward[0], reward[1], newChar, null); else for (int i = 0; i < reward[1]; ++i) newChar.getInventory().addItem("Starter Items Fighter", reward[0], 1, newChar, null); } } } if (item.isEquipable()) if (newChar.getActiveWeaponItem() == null || !(item.getItem().getType2() != L2Item.TYPE2_WEAPON)) newChar.getInventory().equipItemAndRecord(item); } what should I change to make starting items equipable? l2jfrozen
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock