protected override void SetupEffect(EffectBuilder effectBuilder) { effectBuilder.SetType(EffectType.effect_remote_sensor_boost) .SetSource(ParentRobot) .WithPropertyModifier(_effectSensorBoosterLockingRangeModifier.ToPropertyModifier()) .WithPropertyModifier(_effectSensorBoosterLockingTimeModifier.ToPropertyModifier()); }
protected override void SetupEffect(EffectBuilder effectBuilder) { effectBuilder.SetType(_effectType) .SetOwnerToSource() .WithPropertyModifier(_effectModifier.ToPropertyModifier()) .WithRadiusModifier(_effectEnhancerAuraRadiusModifier.Value); }
protected override void SetupEffect(EffectBuilder effectBuilder) { var effectProperty = _effectMassivnesSpeedMaxModifier.ToPropertyModifier(); effectProperty.Add(effectBuilder.Owner.Massiveness); if (effectProperty.Value >= 1.0) { effectProperty.ResetToDefaultValue(); } effectBuilder.SetType(EffectType.effect_demobilizer) .SetSource(ParentRobot) .WithPropertyModifier(effectProperty); }
protected override void SetupEffect(EffectBuilder effectBuilder) { effectBuilder.SetType(EffectType.effect_target_painting) .SetSource(ParentRobot) .WithPropertyModifier(_effectStealthStrengthModifier.ToPropertyModifier()); }
protected override void SetupEffect(EffectBuilder effectBuilder) { effectBuilder.SetType(EffectType.effect_sensor_supress).SetSource(ParentRobot) .WithPropertyModifier(_effectSensorDampenerLockingRangeModifier.ToPropertyModifier()) .WithPropertyModifier(_effectSensorDampenerLockingTimeModifier.ToPropertyModifier()); }
protected override void SetupEffect(EffectBuilder effectBuilder) { effectBuilder.SetType(EffectType.effect_detection) .WithPropertyModifier(_detectionStrengthModifier.ToPropertyModifier()) .WithPropertyModifier(_stealthStrengthModifier.ToPropertyModifier()); }
protected override void SetupEffect(EffectBuilder effectBuilder) { effectBuilder.SetType(EffectType.effect_stealth) .WithCorePerTick(CalculateCorePerTick()) .WithPropertyModifier(_effectStealthStrengthModifier.ToPropertyModifier()); }
public override void ModifyOptimalRange(ref ItemPropertyModifier property) { var optimalRangeMod = _optimalRangeModifier.ToPropertyModifier(); optimalRangeMod.Modify(ref property); }