-
Member
ReAgent Thread
Hi everyone,
There’s been a lot of interest in ReAgent since the release of ExileCore2. Creating a thread to share scripts would be a great way to help newcomers get started, exchange ideas, and collaborate on improvements.
I’d also like to clarify that I am not affiliated with ExileCore2 or ReAgent. Big thanks to the creators of these tools for their hard work and for providing such valuable resources to the community.
Reference links:
Class RuleState
Auto Quit on ES below 35% sideeffect (This will only work if you run ExileCore2 as admin.)
Code:
Vitals.es.percent <= 35
? new ISideEffect[]{DisconnectSideEffect()}
: null
Attachment 88571
HP flask if life 80% or lower and flask is not active.
Code:
Vitals.hp.percent <= 80 &&
Flasks[0].CanBeUsed &&
!Flasks[0].active
Attachment 88572
Mana flask if mana 80% or lower and flask is not active.
Code:
Vitals.mana.percent <= 80 &&
Flasks[1].CanBeUsed &&
!Flasks[1].active
-
Post Thanks / Like - 10 Thanks
-
Member
Some script I gathered from main thread:
Originally Posted by
Konrad Martulewicz
HP Potions (for both CI Eternal Youth or Life)
Code:
SinceLastActivation(0.5) && (Vitals.HP.Current > 2 && Vitals.HP.Percent <= 70 && Flasks.Flask1.Canbeused && !Flasks.Flask1.Active) ||
(Vitals.HP.Current == 1 && Vitals.ES.Percent <= 75 && Flasks.Flask1.Canbeused && !Flasks.Flask1.Active)
MP Potions (for low mana effect)
Code:
SinceLastActivation(0.5) && Vitals.MANA.Percent <= 34 && Flasks.Flask2.CanBeUsed && !Flasks.Flask2.Active
These may be far from perfect, just wrote them myself and im newbie
(just add new profile, set key for 1/2 or w/e u have flasks bound to and copy paste into the rule)

Originally Posted by
An7hrax
Code:
SinceLastActivation(0.5) &&
Buffs["power_charge"].Charges >= 3 &&
!Buffs.has("charged_staff_stack")
And for Tempest Bell
Code:
SinceLastActivation(0.5) &&
Buffs["tempest_bell_combo_tracker"].Charges >= 4 &&
Skills["TempestBellPlayer"].CanBeUsed
Originally Posted by
Konrad Martulewicz
Same not perfect propably better way to do it but...
Code:
SinceLastActivation(0.5) && Buffs["charged_staff_stack"].PercentTimeLeft <= 5 &&
Skills["ChargedStaffPlayer"].Canbeused &&
Buffs["power_charge"].Charges = 3
The best i came up with is this (pauses game on low, but be careful, it will unpause after 10 seconds if u dont quit, or if u unpause urself, it will not work in next 10 seconds)
Code:
SinceLastActivation(10) && Monsters(100).Any() &&
((Vitals.HP.Current > 2 && Vitals.HP.Percent <= 30)
||
(Vitals.ES.Percent <= 30 && Vitals.ES.Percent > 0 && Vitals.HP.Current == 1))

Originally Posted by
xyf1
1.charged_staff
SinceLastActivation(0.5)&&Buffs["power_charge"].Charges >= 5 &&Buffs["charged_staff_stack"].TimeLeft <= 3
2.charged_staff
Buffs["charged_staff_stack"].Charges >= 5&&Buffs["charged_staff_stack"].TimeLeft <= 6&Buffs["power_charge"].Charges >= 2
3.combo
SinceLastActivation(0.1)&&Buffs.Has("tempest_bell_active")&&Buffs["elemental_invocation_reserve"].Charges > 50
4.Duang!
SinceLastActivation(0.1)&&Buffs["tempest_bell_combo_tracker"].Charges >= 4&&MonsterCount(10, MonsterRarity.AtLeastRare) >= 1
5.elemental_invocation
Buffs["elemental_invocation_reserve"].Charges >= 30&&(MonsterCount(40, MonsterRarity.AtLeastRare) >= 1 || MonsterCount(40, MonsterRarity.Any) >= 10)
Originally Posted by
neoikkokx
Since it's in super high demand, I'm going to share my Ice Strike Invoker ReAgent scripts.
Script 1: Efficient Charged Staff Usage
This script ensures that the Charged Staff skill is only used under optimal conditions. It checks if you have the "power_charge" buff, if the "charged_staff_stack" is below 6 charges, and if there are no enemies within a range of 50. This is ideal for maximizing stack-building efficiency without wasting charges.
Code:
Skills["ChargedStaffPlayer"].CanBeUsed &&
Buffs.has("power_charge") &&
Buffs["charged_staff_stack"].Charges < 6 &&
MonsterCount(50) == 0
Script 2: Maintaining Power Charge Buffs
This script makes sure your power charge-related buffs don’t expire. It uses the Charged Staff skill if you have the "power_charge" buff but it’s about to run out (less than 5 seconds left) or if the "charged_staff_stack" buff is active but also close to expiring (less than 5 seconds left). It’s a simple way to prevent buff downtime while keeping stacks ready.
Code:
Skills["ChargedStaffPlayer"].CanBeUsed && (
Buffs.has("power_charge") &&
Buffs["power_charge"].TimeLeft < 5
) || (
Buffs.has("power_charge") &&
Buffs["charged_staff_stack"].TimeLeft < 5
)
Script 3: Smart Tempest Bell Combo Execution
This script optimizes the use of the Tempest Bell skill. It only activates Tempest Bell when the "tempest_bell_combo_tracker" buff has 4 charges and there are enemies within a 30-radius area that are Magic rarity or higher. This ensures the skill is used effectively in dense or high-priority enemy clusters.
Code:
Skills["TempestBellPlayer"].CanBeUsed &&
Buffs["tempest_bell_combo_tracker"].Charges == 4 &&
MonsterCount(30, MonsterRarity.Magic | MonsterRarity.AtLeastRare) > 0
Feel free to use or modify these scripts as needed. They’ve worked really well for me, and I hope they’ll help you too. Let me know if you have any questions!
-
Post Thanks / Like - 6 Thanks
-
Member
Thank you so much for posting these! Does anyone have anything for Spark Stormweaver? Perhaps something with Lightning Warp. I've been having a hard time getting Melting Maelstrom
Ultimate Mana Flask to work well. How would you setup for no energy shield, 1 HP, and say 6000 mana? It also has a longer effect. Melting Maelstrom Ultimate Mana Flask - PoE2DB, Path of Exile Wiki
Last edited by SteelClaww; 01-29-2025 at 04:56 AM.
Reason: Added info
-
Member
My Code for Spark Barrier is this: (Vitals.ES.Percent>75)&&Buffs.has("demon_form_spell_gem_buff")&&SinceLastActivat ion(0.360)
-
Member
i submitted a feature to auto-escape while solo that won't unpause after 10s:
just make use of
Code:
!IsInEscapeMenu && SinceLastActivation(5) &&
(Vitals.HP.Current > 10 && Vitals.HP.Percent <= 30)
-
Post Thanks / Like - 1 Thanks
zoukerbou (1 members gave Thanks to joeywarren for this useful post)
-
Member
hi,
is there a possibility to activate a key depending on the character you play?
-
Member
Originally Posted by
MaMouT
hi,
is there a possibility to activate a key depending on the character you play?
just make a separate profile
-
Member
It is precisely to avoid having to change profiles that I would like to know.
-
Member
Originally Posted by
joeywarren
i submitted a feature to auto-escape while solo that won't unpause after 10s:
just make use of
Code:
!IsInEscapeMenu && SinceLastActivation(5) &&
(Vitals.HP.Current > 10 && Vitals.HP.Percent <= 30)
Literally life saving, thanks!
-
Member
rnmEpwK.png how can I fix this error?
-
Member
How to find buffs name? Im looking for font of mana and sigil of power to check if player has this buffs active
-
Member
Originally Posted by
joeywarren
i submitted a feature to auto-escape while solo that won't unpause after 10s:
just make use of
Code:
!IsInEscapeMenu && SinceLastActivation(5) &&
(Vitals.HP.Current > 10 && Vitals.HP.Percent <= 30)
Set your rule and it is pausing, BUT if I press manually respawn cp it is unpausing for 2-3 sec and usually my toon is ripping... (playing hc)
How could I set this to not "release" escape menu at all?
escapemenu.jpg
Thanks mate!
-
Member
Originally Posted by
ocsisajt
Set your rule and it is pausing, BUT if I press manually respawn cp it is unpausing for 2-3 sec and usually my toon is ripping... (playing hc)
How could I set this to not "release" escape menu at all?
escapemenu.jpg
Thanks mate!
That's a game thing. Respawn briefly unpauses. In maps you should go to character select or logout, in campaign there's nothing you can do but hope you don't die on respawn.
Also remove `IsInEscapeMenu || ` from your code.
-
Member
Thanks but Gamehelper somehow* stayed in menu and not released it but I wanna use exilecore coz more flexible/customizable usage. 
*with 2 sec cooldown settings
-
Member
Originally Posted by
joeywarren
i submitted a feature to auto-escape while solo that won't unpause after 10s:
just make use of
Code:
!IsInEscapeMenu && SinceLastActivation(5) &&
(Vitals.HP.Current > 10 && Vitals.HP.Percent <= 30)
Is there a way to prevent keyboard keys from working (only mouse) after hitting pause? I keep trying to dodge-roll right after it pauses, and it un-pauses.