Misc/Spells:

- Add some ulduar teleport pos for spells
- Add target hack for ulduar teleport spells
This commit is contained in:
Vincent_Michael
2013-02-16 03:26:26 +01:00
parent 60cef65b5c
commit 49e196e6b0
2 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
DELETE FROM `spell_target_position` WHERE `id` IN (64014,64024,64025,64028,64029,64030,64031,64032,65042);
INSERT INTO `spell_target_position` (`id`, `target_map`, `target_position_x`, `target_position_y`, `target_position_z`, `target_orientation`) VALUES
(64014, 603, -705.9705, -92.55729, 430.8192, 0),
(64024, 603, 2086.224, -24.05382, 422.2889, 0),
(64025, 603, 2518.131, 2569.342, 412.6822, 0),
(64028, 603, 553.243, -12.30903, 410.5428, 0),
(64029, 603, 1859.563, -24.83773, 449.1945, 6.230825),
(64030, 603, 1497.989, -24.16162, 421.6254, 0.03490658),
(64031, 603, 926.2917, -11.44444, 418.9779, 0.01745329),
(64032, 603, 131.1389, -35.36806, 410.187, 0),
(65042, 603, 1855.073, -11.48785, 334.559, 5.532694);

View File

@@ -3371,6 +3371,17 @@ void SpellMgr::LoadDbcDataCorrections()
case 64596: // Cosmic Smash (Algalon the Observer)
spellInfo->rangeIndex = 6; // 100yd
break;
case 64014: // Expedition Base Camp Teleport
case 64024: // Conservatory Teleport
case 64025: // Halls of Invention Teleport
case 64028: // Colossal Forge Teleport
case 64029: // Shattered Walkway Teleport
case 64030: // Antechamber Teleport
case 64031: // Scrapyard Teleport
case 64032: // Formation Grounds Teleport
case 65042: // Prison of Yogg-Saron Teleport
spellInfo->EffectImplicitTargetA[0] = TARGET_DEST_DB;
break;
// ENDOF ULDUAR SPELLS
//
// TRIAL OF THE CRUSADER SPELLS