Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. //[Trinity 2.14.34] Unit FallenGrunt_A-68856 has MonsterAffix_IllusionistCast (PowerBuff0VisualEffectNone)
  2. if (CurrentCacheObject.Affixes.Any() && CurrentCacheObject.Affixes.Contains(TrinityMonsterAffix.Illusionist))
  3. {
  4. var isIllusion = CurrentCacheObject.CommonData.GetAttribute<int>(((int) SNOPower.MonsterAffix_IllusionistCast << 12) + ((int) ActorAttributeType.PowerBuff0VisualEffectNone & 0xFFF)) == 1;
  5. if (isIllusion)
  6. {
  7. //Logger.Log("Actor {0} is an illusion! dont be fooled", CurrentCacheObject.InternalName);
  8. CurrentCacheObject.IsIllusion = true;
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement