What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

How to use Cyclone Strike more often

JohnnyQ

New Member
Joined
Jan 31, 2014
Messages
91
Reaction score
0
I have a monk that will occasionally use cyclone strike but I want him to use it more. He will get surrounded by monsters and have plenty of spirit but he won't use it often enough for me. As long as he has enough spirit I would like him to use it. I looked into the DB folder under \Plugins\Trinity\Combat\Abilities and found the monk.cs file. In there I found the section:

Code:
// Cyclone Strike
            if (!UseOOCBuff && !IsCurrentlyAvoiding && !Player.IsIncapacitated && CombatBase.CanCast(SNOPower.Monk_CycloneStrike) &&
                (
                 TargetUtil.AnyElitesInRange(cycloneStrikeRange, 1) ||
                 TargetUtil.AnyMobsInRange(cycloneStrikeRange, Settings.Combat.Monk.MinCycloneTrashCount) ||
                 (CurrentTarget.RadiusDistance >= 15f && CurrentTarget.RadiusDistance <= cycloneStrikeRange) // pull the current target into attack range
                ) &&
                (Player.PrimaryResource >= (cycloneStrikeSpirit + MinEnergyReserve)))
            {
                Monk_TickSweepingWindSpam();
                return new TrinityPower(SNOPower.Monk_CycloneStrike, 0f, Vector3.Zero, CurrentWorldDynamicId, -1, 2, 2, WAIT_FOR_ANIM);
            }

I want this to work for trash mobs as well as elites but I am not sure how trinity handles priorities of which skills to use. Let's say that if at least 3 monsters are within 20 yards of me and I have enough spirit I want to use cyclone strike, what would I change? Am I even looking in the right area? Any help appreciated.
 
Very true. I also have a monk using cyclone strike. During big fights when hes surrounded he doesn't use it very often. When i play, i usually spam it which keeps me alive and helps deal with loads of monsters.
 
Have you tried editing the intervals in Trinity Settings -> Variables tab -> 'SpellDelay.Monk_CycloneStrike'?
 
I have a monk that will occasionally use cyclone strike but I want him to use it more. He will get surrounded by monsters and have plenty of spirit but he won't use it often enough for me. As long as he has enough spirit I would like him to use it. I looked into the DB folder under \Plugins\Trinity\Combat\Abilities and found the monk.cs file. In there I found the section:

Code:
// Cyclone Strike
            if (!UseOOCBuff && !IsCurrentlyAvoiding && !Player.IsIncapacitated && CombatBase.CanCast(SNOPower.Monk_CycloneStrike) &&
                (
                 TargetUtil.AnyElitesInRange(cycloneStrikeRange, 1) ||
                 TargetUtil.AnyMobsInRange(cycloneStrikeRange, Settings.Combat.Monk.MinCycloneTrashCount) ||
                 (CurrentTarget.RadiusDistance >= 15f && CurrentTarget.RadiusDistance <= cycloneStrikeRange) // pull the current target into attack range
                ) &&
                (Player.PrimaryResource >= (cycloneStrikeSpirit + MinEnergyReserve)))
            {
                Monk_TickSweepingWindSpam();
                return new TrinityPower(SNOPower.Monk_CycloneStrike, 0f, Vector3.Zero, CurrentWorldDynamicId, -1, 2, 2, WAIT_FOR_ANIM);
            }

I want this to work for trash mobs as well as elites but I am not sure how trinity handles priorities of which skills to use. Let's say that if at least 3 monsters are within 20 yards of me and I have enough spirit I want to use cyclone strike, what would I change? Am I even looking in the right area? Any help appreciated.


Pretty sure if you remove the line "(CurrentTarget.RadiusDistance >= 15f && CurrentTarget.RadiusDistance <= cycloneStrikeRange) // pull the current target into attack range" and the "||" on the line before you can make it spam the skill.

This line is basic doing a logic check to see if the target the bot has selected is outside of your melee range. It won't cast using that logic if your target is right next to you. Removing that line should stop this.


(
TargetUtil.AnyElitesInRange(cycloneStrikeRange, 1) ||
TargetUtil.AnyMobsInRange(cycloneStrikeRange, Settings.Combat.Monk.MinCycloneTrashCount)
&& (Player.PrimaryResource >= (cycloneStrikeSpirit + MinEnergyReserve))
)
 
Last edited:
I tried what you said and it seemed to crash DB and would not load Trinity any more. Over wrote the monk.cs file and at least DB is working again. Might try again later, thanks for the help.
 
Still looking for some insight to what all the tags mean in the monk.cs file so that I can spam a skill.

Thanks
 
Back
Top