Scripts/VP: corrected Catch Fall mechanic. Players will always get teleported back to the entrance

This commit is contained in:
Ovahlord committed 2019-08-15 01:37:34 +02:00
1 parent 3870caa185
commit b29e1ff2bc
3 files changed
+22 -25

No files matched your search

+12
View File
@@ -4291,6 +4291,18 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->Effects[EFFECT_0].TargetB = SpellImplicitTargetInfo(TARGET_DEST_DB);
});
// Catch Fall
ApplySpellFix({ 89526 }, [](SpellInfo* spellInfo)
{
spellInfo->Effects[EFFECT_0].TargetB = SpellImplicitTargetInfo(TARGET_DEST_DB);
});
// Catch Fall
ApplySpellFix({ 89522 }, [](SpellInfo* spellInfo)
{
spellInfo->Effects[EFFECT_0].TargetA = SpellImplicitTargetInfo(TARGET_DEST_CASTER);
});
// Summon Skyfall Star
ApplySpellFix({ 96260 }, [](SpellInfo* spellInfo)
{