Jump to content
  • 0

[help]enchant for acis


Question

Posted

How can i make 100% for weapons? i tried many methods but nothing 373 rev..

# % chance of success to enchant a magic weapon
EnchantChanceMagicWeapon = 0.4
EnchantChanceMagicWeapon15Plus = 0.2

# % chance of success to enchant a non magic weapon
EnchantChanceNonMagicWeapon = 0.7
EnchantChanceNonMagicWeapon15Plus = 0.35

# % chance of success to enchant an armor part (both jewelry or armor)
EnchantChanceArmor = 0.66

6 answers to this question

Recommended Posts

  • 0
Posted
Just now, phantoml2 said:

1.0 still breaks
1.00 still breaks

i tried 100.0
100.00 and nothing still breaks..
 

still breaks on what enchant value?

  • 0
Posted
2 minutes ago, melron said:

still breaks on what enchant value?

random i
Btw i found that

# % chance of success to enchant a magic weapon
EnchantChanceMagicWeapon = 0.4
EnchantChanceMagicWeapon15Plus = 0.2

# % chance of success to enchant a non magic weapon
EnchantChanceNonMagicWeapon = 0.7
EnchantChanceNonMagicWeapon15Plus = 0.35

 

the second line is for every scroll existi n l2 crystal,bless and normal if i change the second only then enchant % changes the first one is useless

  • 0
Posted

the first one is for magic weapons like arcana mace. the 2nd is non magic weapons for EX db bow...

 

now about the armor type formulas acis chance is different like frozen for ex.

 

take a look

chance = Math.pow(Config.ENCHANT_CHANCE_ARMOR, (enchantItem.getEnchantLevel() - 2));

means in every enchant the chance is lower . 

 

live example with 0.99 in configs for armor

 

hK0wZJ1.png

  • 0
Posted
1 minute ago, melron said:

the first one is for magic weapons like arcana mace. the 2nd is non magic weapons for EX db bow...

 

now about the armor type formulas acis chance is different like frozen for ex.

 

take a look


chance = Math.pow(Config.ENCHANT_CHANCE_ARMOR, (enchantItem.getEnchantLevel() - 2));

means in every enchant the chance is lower . 

 

live example with 0.99 in configs for armor

 

hK0wZJ1.png

aaaa ok thank you problem solved thank melron

Guest
This topic is now closed to further replies.
×
×
  • Create New...