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

Elemental Equilibrium - API exposure

tozededao

Community Developer
Joined
Jan 15, 2010
Messages
1,225
Reaction score
5
Is there anything on the API that allows us to see if a target is being affected by Elemental Equilibrium?
 
Is there anything on the API that allows us to see if a target is being affected by Elemental Equilibrium?

This I guess or something silmilar

Code:
m.ImplicitAffixes.Any(a => a.InternalName.Contains("ElementalEquilibrium"))
 
>to see if a target is being affected by Elemental Equilibrium?
What ya doing with that then?

wimm
 
>to see if a target is being affected by Elemental Equilibrium?
What ya doing with that then?

wimm

Missed this question, I'm developing a Righteous Fire CC. I'm gonna use a spell to proc EE, if the monster already has the debuff I dont see a reason to keep spamming it, I might not do it that way though because there are usually more monsters around him.

So either I check all monsters withing the range of spell to see if there is any without EE and if so cast it or just don't bother at all about EE stuff and constantly spam it.
 
This I guess or something silmilar

Code:
m.ImplicitAffixes.Any(a => a.InternalName.Contains("ElementalEquilibrium"))

I finally had time to test it and it doesn't seem to be working I'm trying to use this code in order to only attack if the monster doesn't have Elemental Equilibrium, so it proccs it.

Code:
if (_leapSlamSlot != -1)                {
                    // first case - target doesn't have elemental equilibrium 
                    var skill = LokiPoe.InGameState.SkillBarPanel.Slot(_leapSlamSlot);
                    if (skill.CanUse() && (!bestTarget.ImplicitAffixes.Any(a => a.InternalName.Contains("ElementalEquilibrium"))))
                    {


                       LokiPoe.InGameState.SkillBarPanel.UseAt(_leapSlamSlot, true, cachedPosition);
                                   
                      


                    }










                }
 
I finally had time to test it and it doesn't seem to be working I'm trying to use this code in order to only attack if the monster doesn't have Elemental Equilibrium, so it proccs it.

Code:
if (_leapSlamSlot != -1)                {
                    // first case - target doesn't have elemental equilibrium 
                    var skill = LokiPoe.InGameState.SkillBarPanel.Slot(_leapSlamSlot);
                    if (skill.CanUse() && (!bestTarget.ImplicitAffixes.Any(a => a.InternalName.Contains("ElementalEquilibrium"))))
                    {


                       LokiPoe.InGameState.SkillBarPanel.UseAt(_leapSlamSlot, true, cachedPosition);
                                   
                      


                    }










                }

OHHHH, I thought you were talking about implicit affixes, you wanna know if the mob is affected by YOUR ee... lol then it must have an invisible Aura, rty slamming someone and dump the objects in the tools tab, get on Monsters subcat & find the mob you just slammed, see if it contains any aura related to EE.
 
OHHHH, I thought you were talking about implicit affixes, you wanna know if the mob is affected by YOUR ee... lol then it must have an invisible Aura, rty slamming someone and dump the objects in the tools tab, get on Monsters subcat & find the mob you just slammed, see if it contains any aura related to EE.

Code:
Current Auras:
	Name: Elemental Weakness, InternalName: curse_elemental_weakness, Description: You are cursed. You take more Elemental damage., IsInvisible: False, IsRemovable: False, Charges: 1, TimeLeft: 00:00:05.7770000, BuffType: 26, CasterId: 4584, OwnerId: 0
	Name: Elemental Equilibrium, InternalName: elemental_equilibrium_buff, Description: You are affected by Elemental Equilibrium. Your resistances are temporarily altered., IsInvisible: False, IsRemovable: False, Charges: 1, TimeLeft: 00:00:00.5600000, BuffType: 26, CasterId: 4584, OwnerId: 0

I guess it is the elemental_equilibrium_buff then?
 
Code:
Current Auras:
	Name: Elemental Weakness, InternalName: curse_elemental_weakness, Description: You are cursed. You take more Elemental damage., IsInvisible: False, IsRemovable: False, Charges: 1, TimeLeft: 00:00:05.7770000, BuffType: 26, CasterId: 4584, OwnerId: 0
	Name: Elemental Equilibrium, InternalName: elemental_equilibrium_buff, Description: You are affected by Elemental Equilibrium. Your resistances are temporarily altered., IsInvisible: False, IsRemovable: False, Charges: 1, TimeLeft: 00:00:00.5600000, BuffType: 26, CasterId: 4584, OwnerId: 0

I guess it is the elemental_equilibrium_buff then?

I guess so, try to use is with m.HasAura("elemental_equilibrium_buff") if it works as intented, let us know.
 
I guess so, try to use is with m.HasAura("elemental_equilibrium_buff") if it works as intented, let us know.

That's what I did and yes it is working now :)

Code:
// Leap Slam to engage the fight 
                if (_leapSlamSlot != -1)
                {
                    // first case - target doesn't have elemental equilibrium 
                    var skill = LokiPoe.InGameState.SkillBarPanel.Slot(_leapSlamSlot);
                    if (skill.CanUse() && (!bestTarget.Auras.Any(a => a.InternalName.Contains("elemental_equilibrium_buff"))))
                        
                    {


                       LokiPoe.InGameState.SkillBarPanel.UseAt(_leapSlamSlot, true, cachedPosition);
                                   
                      


                    }










                }

Here's my snippet, I also use leap slam with curse on hit, I dont have a curse check because EE has shorter duration than curses so there is no point checking for it since it will be reapplied whenever EE does so.
 
Back
Top