GilesSmith
New Member
- Joined
- Jun 2, 2012
- Messages
- 1,564
- Reaction score
- 34
If you want sweeping winds to just spam off-cooldown regardless of blinding flash, mantras, monster counts etc. (so next to no intelligence behind it at all), you could change the sweeping wind if-check to this;
If you have something reducing the cost of sweeping winds, then change;
playerStatus.dCurrentEnergy >= 75
The 75 to be whatever spirit-cost your sweeping winds is.
You may want to change "RANGE_20" to range_15, range_25, or range_30 - depending at what distance from a monster you want it to cast sweeping winds. Note that I have left the check to see if the buff is already up in - so it won't re-cast if sweeping winds is already up. If you want it to ALWAYS cast off-cooldown even if the buff is already up, then remove the "!GilesHasBuff(SNOPower.Monk_SweepingWind) &&" bit of code, too.
Code:
// Sweeping wind
if (!bOOCBuff && hashPowerHotbarAbilities.Contains(SNOPower.Monk_SweepingWind) && !GilesHasBuff(SNOPower.Monk_SweepingWind) &&
iAnythingWithinRange[RANGE_20] >= 1 &&
playerStatus.dCurrentEnergy >= 75 && GilesUseTimer(SNOPower.Monk_SweepingWind))
{
return new GilesPower(SNOPower.Monk_SweepingWind, 0f, vNullLocation, iCurrentWorldID, -1, 1, 0, USE_SLOWLY);
}
If you have something reducing the cost of sweeping winds, then change;
playerStatus.dCurrentEnergy >= 75
The 75 to be whatever spirit-cost your sweeping winds is.
You may want to change "RANGE_20" to range_15, range_25, or range_30 - depending at what distance from a monster you want it to cast sweeping winds. Note that I have left the check to see if the buff is already up in - so it won't re-cast if sweeping winds is already up. If you want it to ALWAYS cast off-cooldown even if the buff is already up, then remove the "!GilesHasBuff(SNOPower.Monk_SweepingWind) &&" bit of code, too.
Last edited: