public static boolean calcProbability(double baseChance, Creature attacker, Creature target, Skill skill) {
return Rnd.get(100) < ((((((skill.getMagicLevel() + baseChance) - target.getLevel()) + 30) - target.getStat().getINT())
* calcAttributeRatio(attacker, target, skill))
* calcGeneralTraitRatio(attacker, target, skill.getTrait()));
}