public static int getChargeDamageTakenBy(Entity entity, Entity target) { return (int) Math.ceil( target.getWeight() / 10.0 * (entity.getLocationStatus(1)==Entity.LOC_WET ? 0.5 : 1) );
public static int getChargeDamageTakenBy(Entity entity, Building bldg) {  return (int) Math.ceil( bldg.getPhaseCF() / 10.0 );
    public static int getChargeDamageTakenBy(Entity entity, Entity target) {        return (int) Math.ceil( target.getWeight() / 10.0 * (entity.getLocationStatus(1)==Entity.LOC_WET ? 0.5 : 1) );    }