Guest User

Shadow.cs Line 260

a guest
Oct 6th, 2016
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.42 KB | None | 0 0
  1. Spell.Buff("Shadow Word: Pain", true), // no multi message for current target
  2. Spell.Buff("Vampiric Touch", true), // no multi message for current target
  3. Spell.Buff( // multi-dot others w/ message
  4. "Vampiric Touch",
  5. true,
  6. on =>
  7. {
  8. WoWUnit dotTarget = AoeTargets.FirstOrDefault(u => u != Me.CurrentTarget && !u.HasMyAura("Vampiric Touch") && u.InLineOfSpellSight && !Spell.DoubleCastContains(u, "Vampiric Touch"));
  9. if (dotTarget != null && Spell.CanCastHack("Vampiric Touch", dotTarget))
  10. {
  11. Logger.Write(LogColor.Hilite, "^Multi-DoT: cast Vampiric Touch on {0}", dotTarget.SafeName());
  12. return dotTarget;
  13. }
  14. return null;
  15. },
  16. req => true
  17. ),
  18. Spell.Buff( // multi-dot others w/ message
  19. "Shadow Word: Pain",
  20. true,
  21. on =>
  22. {
  23. WoWUnit dotTarget = AoeTargets.FirstOrDefault(u => u != Me.CurrentTarget && !u.HasMyAura("Shadow Word: Pain") && u.InLineOfSpellSight && !Spell.DoubleCastContains(u, "Shadow Word: Pain"));
  24. if (dotTarget != null && Spell.CanCastHack("Shadow Word: Pain", dotTarget))
  25. {
  26. Logger.Write(LogColor.Hilite, "^Multi-DoT: cast Shadow Word: Pain on {0}", dotTarget.SafeName());
  27. return dotTarget;
  28. }
  29. return null;
  30. },
  31. req => true
  32. ),
Advertisement
Add Comment
Please, Sign In to add comment