Any ways to check my active skill target ?
Any ways to check my active skill target ?
These ads disappear when you log in.
Not sure if there is a better method.
Code:IPlayerSkill skill = Hud.Game.Me.Powers.UsedSkills.FirstOrDefault(s => s.SnoPower.Sno == Hud.Sno.SnoPowers.Necromancer_CommandSkeletons.Sno); if (skill == null) return; IAttribute attr; switch (skill.Rune) { case 0: attr = Hud.Sno.Attributes.Power_Buff_4_Visual_Effect_A; break; case 1: attr = Hud.Sno.Attributes.Power_Buff_4_Visual_Effect_B; break; case 2: attr = Hud.Sno.Attributes.Power_Buff_4_Visual_Effect_C; break; case 3: attr = Hud.Sno.Attributes.Power_Buff_4_Visual_Effect_D; break; case 4: attr = Hud.Sno.Attributes.Power_Buff_4_Visual_Effect_E; break; default: attr = Hud.Sno.Attributes.Power_Buff_4_Visual_Effect_None; break; } foreach (IMonster monster in Hud.Game.AliveMonsters) { if (monster.GetAttributeValueAsUInt(attr, Hud.Sno.SnoPowers.Necromancer_CommandSkeletons.Sno, 0) == 1) { ... } }