Jump to content

Search the Community

Showing results for tags 'enchant'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News & Updates
    • Announcements
    • Suggestions & Feedback
  • MMO Hub
    • General Chat
    • Gamer's Lounge
    • Member's Lounge
    • Dev Lounge
  • MMO Corner
    • MMO and MMORPG
    • Host Listing
    • Server Listings
    • Server Recruitment
    • Server Reviews
  • User Hub
    • Support
    • Report
    • Contact Staff
  • Creative Corner
    • GFX
    • VFX
  • Merchant Corner
    • Marketplace
  • General Development Releases
    • Applications
  • Tutorials
    • Programming
    • Web Development
  • Wasteland
    • Archives

Categories

  • Creative Corner
    • GFX Releases
    • VFX Releases
    • Resources
  • MMO and MMORPG
    • World of Warcraft
    • Lineage 2
    • Minecraft
  • Webmasters
    • Content Management Systems
    • Addons
    • Scripts
    • Designs
    • Proxies
  • Applications
  • Gaming
    • World of Warcraft
    • Lineage 2
    • Minecraft
    • Emulation
    • Nulled Distributions
  • Marketplace
    • Marsh Designs
    • iDarts

Calendars

  • Community Calendar

Found 3 results

  1. Hello Lordcrafters, Here is a custom enchant skill list. What this list contains? 100% safe enchant till enchant reach the config value If the enchant is higher than this value you have the retail chance If you fail to enchant and character is nobl ( nobl condition was for testing you have to change this with your condition ) the skill enchant will become -1 of the current enchant Its working for both conditions ( < 130 , < 170 ex. power,cost ) 2 configs ( no need more ) Video Preview: Code: Config: Credits: melron
  2. Hello guys, here is a code for Enchant Rates Config for Blessed and Crystal Scrolls for aCis. Go to: gameserver/network/clientpacket/AbstractEnchantPacket.java find this 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; } And replace it with this: And now the Configs: public static double ENCHANT_CHANCE_WEAPON_MAGIC; public static double ENCHANT_CHANCE_WEAPON_MAGIC_15PLUS; public static double ENCHANT_CHANCE_WEAPON_NONMAGIC; public static double ENCHANT_CHANCE_WEAPON_NONMAGIC_15PLUS; +public static double ENCHANT_CHANCE_WEAPON_MAGIC_BLESSED; +public static double ENCHANT_CHANCE_WEAPON_MAGIC_15PLUS_BLESSED; +public static double ENCHANT_CHANCE_WEAPON_NONMAGIC_BLESSED; +public static double ENCHANT_CHANCE_WEAPON_NONMAGIC_15PLUS_BLESSED; +public static double ENCHANT_CHANCE_WEAPON_NONMAGIC_CRYSTAL; +public static double ENCHANT_CHANCE_WEAPON_NONMAGIC_15PLUS_CRYSTAL; +public static double ENCHANT_CHANCE_WEAPON_MAGIC_CRYSTAL; +public static double ENCHANT_CHANCE_WEAPON_MAGIC_15PLUS_CRYSTAL; public static double ENCHANT_CHANCE_ARMOR; +public static double ENCHANT_CHANCE_ARMOR_BLESSED; +public static double ENCHANT_CHANCE_ARMOR_CRYSTAL; ENCHANT_CHANCE_WEAPON_MAGIC = players.getProperty("EnchantChanceMagicWeapon", 0.4); ENCHANT_CHANCE_WEAPON_MAGIC_15PLUS = players.getProperty("EnchantChanceMagicWeapon15Plus", 0.2); ENCHANT_CHANCE_WEAPON_NONMAGIC = players.getProperty("EnchantChanceNonMagicWeapon", 0.7); ENCHANT_CHANCE_WEAPON_NONMAGIC_15PLUS = players.getProperty("EnchantChanceNonMagicWeapon15Plus", 0.35); +ENCHANT_CHANCE_WEAPON_MAGIC_BLESSED = players.getProperty("EnchantChangeWeaponMagicBlessed", 0.35); +ENCHANT_CHANCE_WEAPON_MAGIC_15PLUS_BLESSED = players.getProperty("EnchantChangeWeaponMagic15PlusBlessed", 0.35); +ENCHANT_CHANCE_WEAPON_NONMAGIC_BLESSED = players.getProperty("EnchantChangeWeaponNonMagicBlessed", 0.35); +ENCHANT_CHANCE_WEAPON_NONMAGIC_15PLUS_BLESSED = players.getProperty("EnchantChangeWeaponNonMagic15PlusBlessed", 0.35); +ENCHANT_CHANCE_WEAPON_NONMAGIC_CRYSTAL = players.getProperty("EnchantChanceWeaponNonMagicCrystal", 0.35); +ENCHANT_CHANCE_WEAPON_NONMAGIC_15PLUS_CRYSTAL = players.getProperty("EnchantChanceWeaponNonMagic15PlusCrystal", 0.35); +ENCHANT_CHANCE_WEAPON_MAGIC_CRYSTAL = players.getProperty("EnchantChanceWeaponMagicCrystal", 0.35); +ENCHANT_CHANCE_WEAPON_MAGIC_15PLUS_CRYSTAL = players.getProperty("EnchantChanceWeaponMagic15PlusCrystal", 0.35); ENCHANT_CHANCE_ARMOR = players.getProperty("EnchantChanceArmor", 0.66); +ENCHANT_CHANCE_ARMOR_BLESSED = players.getProperty("EnchantChanceArmorBlessed", 0.66); +ENCHANT_CHANCE_ARMOR_CRYSTAL = players.getProperty("EnchantChanceArmorCrystal", 0.66); # % chance of success to enchant a non magic weapon with normal scroll EnchantChanceNonMagicWeapon = 0.55 EnchantChanceNonMagicWeapon15Plus = 0.55 + +# % chance of success to enchant a magic weapon with blessed scroll +EnchantChangeWeaponMagicBlessed = 0.75 +EnchantChangeWeaponMagic15PlusBlessed = 0.75 + +# % chance of success to enchant a non magic weapon with blessed scroll +EnchantChangeWeaponNonMagicBlessed = 0.75 +EnchantChangeWeaponNonMagic15PlusBlessed = 0.75 + +# % chance of success to enchant a magic weapon with crystal scroll +EnchantChanceWeaponMagicCrystal = 0.95 +EnchantChanceWeaponMagic15PlusCrystal = 0.95 + +# % chance of success to enchant a non magic weapon with crystal scroll +EnchantChanceWeaponNonMagicCrystal = 0.95 +EnchantChanceWeaponNonMagic15PlusCrystal = 0.95 + # % chance of success for normal scrolls to enchant an armor part (both jewelry or armor) EnchantChanceArmor = 0.66 + +# % chance of success for blessed scrolls to enchant an armor part (both jewelry or armor) +EnchantChanceArmorBlessed = 0.75 + +# % chance of success for crystal scrolls to enchant an armor part (both jewelry or armor) +EnchantChanceArmorCrystal = 0.95 # Enchant limit [default = 0] EnchantMaxWeapon = 0 EnchantMaxArmor = 0 Credits for the original code: Uknown, Credits for the fixes and update to last rev: Psyancy aka TehNeRD
  3. Hello members of LordCraft, here is a code for Enchant Success Announcements. How it works? There are 2 options. Option 1: You can set an enchant level and when the player enchant his item on the value you set or more it will make an announcement. Option 2: You can set 2 or more enchant levels and when the player enchant his item to those values you set it will make an announcement. Image Preview: Option 1 Code: Option 2 Code: Credits: RedHoT
×