Code format for previous commit.

This commit is contained in:
MobiusDev 2017-09-25 21:39:12 +00:00
parent 433b6dc4c1
commit cc52ad0500
3 changed files with 12 additions and 12 deletions

View File

@ -321,22 +321,22 @@ public class RequestExEnchantItemAttribute implements IClientIncomingPacket
case Stone:
case Roughore:
{
success = Rnd.get(100) < (Config.ENCHANT_CHANCE_ELEMENT_STONE);
success = Rnd.get(100) < Config.ENCHANT_CHANCE_ELEMENT_STONE;
break;
}
case Crystal:
{
success = Rnd.get(100) < (Config.ENCHANT_CHANCE_ELEMENT_CRYSTAL);
success = Rnd.get(100) < Config.ENCHANT_CHANCE_ELEMENT_CRYSTAL;
break;
}
case Jewel:
{
success = Rnd.get(100) < (Config.ENCHANT_CHANCE_ELEMENT_JEWEL);
success = Rnd.get(100) < Config.ENCHANT_CHANCE_ELEMENT_JEWEL;
break;
}
case Energy:
{
success = Rnd.get(100) < (Config.ENCHANT_CHANCE_ELEMENT_ENERGY);
success = Rnd.get(100) < Config.ENCHANT_CHANCE_ELEMENT_ENERGY;
break;
}
case GoD_Event:

View File

@ -321,22 +321,22 @@ public class RequestExEnchantItemAttribute implements IClientIncomingPacket
case Stone:
case Roughore:
{
success = Rnd.get(100) < (Config.ENCHANT_CHANCE_ELEMENT_STONE);
success = Rnd.get(100) < Config.ENCHANT_CHANCE_ELEMENT_STONE;
break;
}
case Crystal:
{
success = Rnd.get(100) < (Config.ENCHANT_CHANCE_ELEMENT_CRYSTAL);
success = Rnd.get(100) < Config.ENCHANT_CHANCE_ELEMENT_CRYSTAL;
break;
}
case Jewel:
{
success = Rnd.get(100) < (Config.ENCHANT_CHANCE_ELEMENT_JEWEL);
success = Rnd.get(100) < Config.ENCHANT_CHANCE_ELEMENT_JEWEL;
break;
}
case Energy:
{
success = Rnd.get(100) < (Config.ENCHANT_CHANCE_ELEMENT_ENERGY);
success = Rnd.get(100) < Config.ENCHANT_CHANCE_ELEMENT_ENERGY;
break;
}
case GoD_Event:

View File

@ -321,22 +321,22 @@ public class RequestExEnchantItemAttribute implements IClientIncomingPacket
case Stone:
case Roughore:
{
success = Rnd.get(100) < (Config.ENCHANT_CHANCE_ELEMENT_STONE);
success = Rnd.get(100) < Config.ENCHANT_CHANCE_ELEMENT_STONE;
break;
}
case Crystal:
{
success = Rnd.get(100) < (Config.ENCHANT_CHANCE_ELEMENT_CRYSTAL);
success = Rnd.get(100) < Config.ENCHANT_CHANCE_ELEMENT_CRYSTAL;
break;
}
case Jewel:
{
success = Rnd.get(100) < (Config.ENCHANT_CHANCE_ELEMENT_JEWEL);
success = Rnd.get(100) < Config.ENCHANT_CHANCE_ELEMENT_JEWEL;
break;
}
case Energy:
{
success = Rnd.get(100) < (Config.ENCHANT_CHANCE_ELEMENT_ENERGY);
success = Rnd.get(100) < Config.ENCHANT_CHANCE_ELEMENT_ENERGY;
break;
}
case GoD_Event: