Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Spell.Buff("Shadow Word: Pain", true), // no multi message for current target
- Spell.Buff("Vampiric Touch", true), // no multi message for current target
- Spell.Buff( // multi-dot others w/ message
- "Vampiric Touch",
- true,
- on =>
- {
- WoWUnit dotTarget = AoeTargets.FirstOrDefault(u => u != Me.CurrentTarget && !u.HasMyAura("Vampiric Touch") && u.InLineOfSpellSight && !Spell.DoubleCastContains(u, "Vampiric Touch"));
- if (dotTarget != null && Spell.CanCastHack("Vampiric Touch", dotTarget))
- {
- Logger.Write(LogColor.Hilite, "^Multi-DoT: cast Vampiric Touch on {0}", dotTarget.SafeName());
- return dotTarget;
- }
- return null;
- },
- req => true
- ),
- Spell.Buff( // multi-dot others w/ message
- "Shadow Word: Pain",
- true,
- on =>
- {
- WoWUnit dotTarget = AoeTargets.FirstOrDefault(u => u != Me.CurrentTarget && !u.HasMyAura("Shadow Word: Pain") && u.InLineOfSpellSight && !Spell.DoubleCastContains(u, "Shadow Word: Pain"));
- if (dotTarget != null && Spell.CanCastHack("Shadow Word: Pain", dotTarget))
- {
- Logger.Write(LogColor.Hilite, "^Multi-DoT: cast Shadow Word: Pain on {0}", dotTarget.SafeName());
- return dotTarget;
- }
- return null;
- },
- req => true
- ),
Advertisement
Add Comment
Please, Sign In to add comment