env.value *= debuffMod;
}
SkillTrait trait = skill.getTraitType();
if (trait != null)
{
vulnMod = trait.calcVuln(env);
profMod = trait.calcProf(env);
final double maxResist = 90 + (profMod * 0.85);
resMod = (maxResist - vulnMod) / 60.;
}
if (resMod != 1)