numl0ckas Posted July 2, 2013 Posted July 2, 2013 Hello, as topic says i need these things, thanks for help!
0 Tryskell Posted July 2, 2013 Posted July 2, 2013 It's shared on aCis customs section. Either fix things in order to be accepted or pay to see the section.
0 numl0ckas Posted July 2, 2013 Author Posted July 2, 2013 Tryskell, Thanks for answer, im in aCis customer, i thinked its bugged, can you pm to me what use? Because i found about 2-3 and i don't know what is better.
0 drake2wow Posted July 2, 2013 Posted July 2, 2013 Just create ur own, it requires minimum java knowledge. Experiment with RequestEnchant For example my formula is: int chance; if (item.getEnchantLevel() >= 7) { if (scrollTemplate.isBlessed()) chance=90; else if (scrollTemplate.isCrystal()) chance=65; else chance=75; if (item.getEnchantLevel()>=15) chance=chance-5; if (item.crystalizesOnFail()) chance=chance-5; } else chance = 100; it ignores the shitty configs and you have full control of your enchant system
0 Devlin Posted July 2, 2013 Posted July 2, 2013 If you want just rates you can use this code at AbstractEnchantPacket: if (isBlessed()) chance = Config.BLESSED_CHANCE; if (isCrystal()) chance = Config.CRYSTAL_CHANCE;
0 numl0ckas Posted July 2, 2013 Author Posted July 2, 2013 public final double getChance(L2ItemInstance enchantItem) { if (!isValid(enchantItem)) return -1; boolean fullBody = enchantItem.getItem().getBodyPart() == L2Item.SLOT_FULL_ARMOR; if (enchantItem.getEnchantLevel() < Config.ENCHANT_SAFE_MAX || (fullBody && enchantItem.getEnchantLevel() < Config.ENCHANT_SAFE_MAX_FULL)) return 1; double chance = 0; // Armor formula : 0.66^(current-2), chance is lower and lower for each enchant. if (enchantItem.isArmor()) chance = Math.pow(Config.ENCHANT_CHANCE_ARMOR, (enchantItem.getEnchantLevel() - 2)); // Weapon formula is 70% for fighter weapon, 40% for mage weapon. Special rates after +14. else if (enchantItem.isWeapon()) { if (((L2Weapon) enchantItem.getItem()).isMagical()) chance = (enchantItem.getEnchantLevel() > 14) ? Config.ENCHANT_CHANCE_WEAPON_MAGIC_15PLUS : Config.ENCHANT_CHANCE_WEAPON_MAGIC; else chance = (enchantItem.getEnchantLevel() > 14) ? Config.ENCHANT_CHANCE_WEAPON_NONMAGIC_15PLUS : Config.ENCHANT_CHANCE_WEAPON_NONMAGIC; } return chance; } } how make crystal and blessed?
0 SweeTs Posted July 2, 2013 Posted July 2, 2013 Thanks for answer, im in aCis customer, i thinked its bugged If you're a customer, well. Like Tryskell said, go to custom section and find Hasha's enchant system.
0 numl0ckas Posted July 2, 2013 Author Posted July 2, 2013 Hasha dont added any difs or something, wtf? :D http://acis.i-live.eu/index.php?topic=2520.0
0 Tryskell Posted July 3, 2013 Posted July 3, 2013 up I think it has been lost during one of the forums rollback, as many attached files. PM Hasha on forums to see if he can update the topic (in case he still has the diffs).
0 SweeTs Posted July 3, 2013 Posted July 3, 2013 Hasha dont added any difs or something, wtf? :D http://acis.i-live.eu/index.php?topic=2520.0 Hahaha, like Tryskell said :D Once again attachements get facked up. But no worry, I'm goin' to update the topic, so check it soon :) Edit: Done.
Question
numl0ckas
Hello, as topic says i need these things, thanks for help!
11 answers to this question
Recommended Posts