private void updatePassive(Unit target) { if (target == null) { return; } this.detachPassive(target); this.attachBuffPassive(target); this.attachCond(WeatherData.eCondAttachType.PASSIVE, target, (RandXorshift)null); target.CalcCurrentStatus(false); }