Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //[Trinity 2.14.34] Unit FallenGrunt_A-68856 has MonsterAffix_IllusionistCast (PowerBuff0VisualEffectNone)
- if (CurrentCacheObject.Affixes.Any() && CurrentCacheObject.Affixes.Contains(TrinityMonsterAffix.Illusionist))
- {
- var isIllusion = CurrentCacheObject.CommonData.GetAttribute<int>(((int) SNOPower.MonsterAffix_IllusionistCast << 12) + ((int) ActorAttributeType.PowerBuff0VisualEffectNone & 0xFFF)) == 1;
- if (isIllusion)
- {
- //Logger.Log("Actor {0} is an illusion! dont be fooled", CurrentCacheObject.InternalName);
- CurrentCacheObject.IsIllusion = true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement