I think one trigger is enough for that what you want. Using the skill, if you have no charges or their remaining time is less then 3 sec needs only one condition: PlayerBuffs["endurance_charge"].TimeLeft<3 If you have no charges (and no buff) , time is "0" and the condition is still true. No need for conditions if you have the buff..
Adding && PlayerSkillIsUseable.Contains("EnduringCry") && MonsterCount(MonsterRarity.Any, MonsterNearbyZones.InnerCircle) > 0
makes sense.
Consider optional adding other conditions:
&& PlayerVitals.MANA.CURRENT > 40 (I want some mana remainig using other skills, so don't cast it if I am low on mana .... )
&& ( PlayerAnimation.Equals(Animation.Idle) | PlayerAnimation.Equals(Animation.SpellAreaOfEffect) ) (only using the skill when I am idle or have time casting other spells, i don't want to stop running or attacking in the middle of a fight)
&& ( PlayerBuffs["endurance_charge"].Charges < 3 | PlayerBuffs["endurance_charge"].TimeLeft < 1 ) (only using the skill if I have less then 3 charges or the remaining time of any charges is less then 1 sec)
Post Thanks / Like - 1 Thanks
Baki667 (1 members gave Thanks to Rukola_1 for this useful post)
Hello? Is radar working for anyone else? How come it's not working for me?? I tried turning it off/on, and I'm running as a limited user. ExileApi's radar hack works for me, but I want to understand why GameHelper's isn't...
Hello! I would like to know if in GameHelper is there a way to access the _renderName to use in Preload Alerts...
It would be very handy! many things are hide on this....
[ATTACH]86662[/ATTACH
]Screenshot_3.png
Those two objects, the starfall entrance for verisium boss and the reflection mist, would be fetch if we could add "attributes"...
I think the AHK is sending the keypress to the game directly, right? So if I am using autohotkey.exe, I cannot detect the keypress from HB.
Is there any way to detect the keypress from HB in autohotkey.exe SW? Or is it possible to add an option to let user choose to send keypress to game directly or send to all?
Is there security risk to do that?