-
Member
Any Idea to check how many lightning rod at the cursur ?
pm. I am very confuse with api web some syntax in this thread didn’t even exist in the apo doc.
-
Member
Originally Posted by
ya01178379
Any Idea to check how many lightning rod at the cursur ?
pm. I am very confuse with api web some syntax in this thread didn’t even exist in the apo doc.
solved, using
Code:
SinceLastActivation(0.3) &&
Skills["LightningArrowPlayer"].CanBeUsed &&
MiscellaneousObjects.Count(e => e.Path.Contains("Rod") && e.DistanceToCursor <= 20) > 4 &&
Vitals.Mana.Percent > 0.1
? new ISideEffect[]{
PressKeySideEffect("D1")
}
: null
-
Post Thanks / Like - 1 Thanks
Connotation (1 members gave Thanks to ya01178379 for this useful post)
-
Member
Originally Posted by
voduyvuong001
hmm with key function i think it more simplier , no?
SinceLastActivation(0.5) &&
Skills["BarragePlayer"].CanBeUsed &&
!Buffs.has("empower_barrage_visual")&&
Monsters(100).Any(m => m.IsAlive ) &&
MonsterCount(100, MonsterRarity.Any) >=1
&&
Buffs["frenzy_charge"].Charges >= 2
Yes this is way better and more efficient. I have no experience with this kind of stuff and just pieced it together through reading other replies so thanks for this!
-
Member
is there any source to look for certain scripts?