Core/Spells: Implemented SPELL_EFFECT_TELEPORT_GRAVEYARD
Port From (https://github.com/TrinityCore/TrinityCore/commit/cdb209fda44eb500a7e8d9a0d4acd048e1ee5eec)
This commit is contained in:
@@ -5756,6 +5756,15 @@ namespace Game.Spells
|
|||||||
|
|
||||||
target.UpdateTraitConfig(m_customArg as TraitConfigPacket, damage, false);
|
target.UpdateTraitConfig(m_customArg as TraitConfigPacket, damage, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[SpellEffectHandler(SpellEffectName.TeleportGraveyard)]
|
||||||
|
void EffectTeleportGraveyard()
|
||||||
|
{
|
||||||
|
if (effectHandleMode != SpellEffectHandleMode.HitTarget)
|
||||||
|
return;
|
||||||
|
|
||||||
|
unitTarget.ToPlayer()?.RepopAtGraveyard();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class DispelableAura
|
public class DispelableAura
|
||||||
|
|||||||
Reference in New Issue
Block a user