changed to: chance = chance * (100 + u->getVisibility()) / 100;