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

A few questions

Bulleye1234

New Member
Joined
Sep 17, 2014
Messages
60
Reaction score
2
1. This code:

Code:
GetHasBuff(SNOPower.Pages_Buff_Infinite_Casting)

is check for Chaneling Pylon buff, how to check for Empower Shrine buff, how it's called in Trinity?

2. How to check if mob position is stay in AoE(Molten Core/Ice Ball etc). I want to make check for that before charging with Furious Charge in to "Best mob". Is there some function like:

Code:
IsCoveredWithAOE(CurrentTarget.Position)

Thanks!.
 
Seems i found answer on 2nd question:

Code:
internal static bool UnitInAoe(TrinityCacheObject u)
        {
            return CacheData.TimeBoundAvoidance.Any(aoe => aoe.Position.Distance2D(u.Position) <= aoe.Radius);
        }
 
Found answer on 1st question:

Code:
Shrine_Desecrated_Reloaded

Ty for everyone for fkn help!
 
Back
Top