SuperSamwise
New Member
- Joined
- Sep 9, 2014
- Messages
- 2
- Reaction score
- 0
Hey, I'm looking if there is a way to modify the falling sword routine to only be cast while its 4pc Seeker of Light set buff is not active.
There's 2 possible ways i could see doing this. Either having a timer from when its cast to 8 seconds and then be able to cast, or a way to track the buff you gain called "Falling Sword" and to be cast after it wears off.
// FallingSword
if (CanCastFallingSword())
{
return new TrinityPower(SNOPower.X1_Crusader_FallingSword, 16f, TargetUtil.GetBestClusterPoint(15f, 65f, false));
}
This is its current parameters, what would i add to set either of those conditions.
There's 2 possible ways i could see doing this. Either having a timer from when its cast to 8 seconds and then be able to cast, or a way to track the buff you gain called "Falling Sword" and to be cast after it wears off.
// FallingSword
if (CanCastFallingSword())
{
return new TrinityPower(SNOPower.X1_Crusader_FallingSword, 16f, TargetUtil.GetBestClusterPoint(15f, 65f, false));
}
This is its current parameters, what would i add to set either of those conditions.