// Breath of heaven when needing healing or the buff
if (!bOOCBuff && (playerStatus.dCurrentHealthPct <= 0.6 || !GilesHasBuff(SNOPower.Monk_BreathOfHeaven)) && hashPowerHotbarAbilities.Contains(SNOPower.Monk_BreathOfHeaven) &&
(playerStatus.dCurrentEnergy >= 35 || (!hashPowerHotbarAbilities.Contains(SNOPower.Monk_Serenity) && playerStatus.dCurrentEnergy >= 25)) &&
GilesUseTimer(SNOPower.Monk_BreathOfHeaven) && PowerManager.CanCast(SNOPower.Monk_BreathOfHeaven))
{
return new GilesPower(SNOPower.Monk_BreathOfHeaven, 0f, vNullLocation, iCurrentWorldID, -1, 1, 1, USE_SLOWLY);
}
[B][COLOR="#006400"] // Dashing Strike as a teleport
if (!bOOCBuff && !bCurrentlyAvoiding && !playerStatus.bIsIncapacitated && hashPowerHotbarAbilities.Contains(SNOPower.Monk_DashingStrike) &&
iAnythingWithinRange[RANGE_25] == 0 && iAnythingWithinRange[RANGE_50] >= 1 &&
((playerStatus.dCurrentEnergy >= 30 && !playerStatus.bWaitingForReserveEnergy) || playerStatus.dCurrentEnergy >= iWaitingReservedAmount))
{
return new GilesPower(SNOPower.Monk_DashingStrike, 50f, vNullLocation, -1, targetCurrent.iThisACDGUID, 0, 1, USE_SLOWLY);
}[/COLOR][/B]
// Blinding Flash
if (!bOOCBuff && playerStatus.dCurrentEnergy >= 20 && hashPowerHotbarAbilities.Contains(SNOPower.Monk_BlindingFlash) &&