Advertisement
Guest User

Untitled

a guest
Aug 2nd, 2010
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. Spell.cpp
  2. in void Spell::SendSpellGo()
  3.  
  4. // Can't have TARGET_FLAG_UNIT when *_LOCATION is present - it breaks missile visuals
  5.  
  6. if (m_targets.getTargetMask() & (TARGET_FLAG_SOURCE_LOCATION | TARGET_FLAG_DEST_LOCATION))
  7. m_targets.setTargetMask(m_targets.getTargetMask() & ~TARGET_FLAG_UNIT);
  8. else if (m_targets.getIntTargetFlags() & FLAG_INT_UNIT)
  9. m_targets.setTargetMask(m_targets.getTargetMask() | TARGET_FLAG_UNIT);
  10.  
  11. +switch(m_spellInfo->Id)
  12. +{
  13. + case 52408:
  14. + case 61012:
  15. + case 67814:
  16. + case 67813:
  17. + case 66676:
  18. + case 66672:
  19. + case 63274:
  20. + case 27810:
  21. + m_targets.setTargetMask(m_targets.getTargetMask() | TARGET_FLAG_DEST_LOCATION);
  22. +}
  23.  
  24. WriteSpellGoTargets(&data);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement