// Sentry Turret
if (!bOOCBuff && !playerStatus.bIsIncapacitated && hashPowerHotbarAbilities.Contains(SNOPower.DemonHunter_Sentry) &&
powerLastSnoPowerUsed != SNOPower.DemonHunter_Sentry &&
(iElitesWithinRange[RANGE_40] >= 1 || iAnythingWithinRange[RANGE_40] >= 4 || ((targetCurrent.bThisEliteRareUnique || targetCurrent.bThisTreasureGoblin || targetCurrent.bThisBoss) && targetCurrent.fRadiusDistance <= 40f)) &&
playerStatus.dCurrentEnergy >= 30 && GilesUseTimer(SNOPower.DemonHunter_Sentry))
{
return new GilesPower(SNOPower.DemonHunter_Sentry, 0f, vNullLocation, iCurrentWorldID, -1, 1, 1, USE_SLOWLY);
}