// кап
if (target.isPlayer()) {
L2Player player = (L2Player) target;
if ((Config.SKILLS_SHOW_CHANCE && character.isMonster() || player
.isGM()) && player.getVarB("SkillsMobChance")) {
target.sendMessage(character.getName()
+ ": "
+ new CustomMessage(
"l2p.gameserver.skills.Formulas.Chance", target)
.addString(skill.getName())
.addNumber(Math.round(env.value)).toString());