Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Perpetuum/Zones/NpcSystem/Turret.cs
Original file line number Diff line number Diff line change
Expand Up @@ -230,11 +230,11 @@ public void Visit(EnergyNeutralizerModule module)
module.State.SwitchTo(ModuleStateType.Oneshot);
}

private const double ENERGY_VAMPIRE_CORE_THRESHOLD = 0.8;
private const double ENERGY_VAMPIRE_CORE_THRESHOLD = 0.05;

public void Visit(EnergyVampireModule module)
{
if ( module.ParentRobot.CorePercentage >= ENERGY_VAMPIRE_CORE_THRESHOLD )
if ( module.ParentRobot.CorePercentage < ENERGY_VAMPIRE_CORE_THRESHOLD )
return;

var lockTarget = ((Creature)module.ParentRobot).SelectOptimalLockTargetFor(module);
Expand Down