Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Spell.cpp
- in void Spell::SendSpellGo()
- // Can't have TARGET_FLAG_UNIT when *_LOCATION is present - it breaks missile visuals
- if (m_targets.getTargetMask() & (TARGET_FLAG_SOURCE_LOCATION | TARGET_FLAG_DEST_LOCATION))
- m_targets.setTargetMask(m_targets.getTargetMask() & ~TARGET_FLAG_UNIT);
- else if (m_targets.getIntTargetFlags() & FLAG_INT_UNIT)
- m_targets.setTargetMask(m_targets.getTargetMask() | TARGET_FLAG_UNIT);
- +switch(m_spellInfo->Id)
- +{
- + case 52408:
- + case 61012:
- + case 67814:
- + case 67813:
- + case 66676:
- + case 66672:
- + case 63274:
- + case 27810:
- + m_targets.setTargetMask(m_targets.getTargetMask() | TARGET_FLAG_DEST_LOCATION);
- +}
- WriteSpellGoTargets(&data);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement