Core/Spells: Pass cast item level to triggered spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/8e2d1e328ebec60c76d65651b268ec3ad2ce26fc)
This commit is contained in:
@@ -5204,7 +5204,7 @@ namespace Game.Entities
|
||||
else if (apply)
|
||||
{
|
||||
CastSpellExtraArgs args = new(TriggerCastFlags.FullMask);
|
||||
args.CastItem = artifact;
|
||||
args.SetCastItem(artifact);
|
||||
if (artifactPowerRank.AuraPointsOverride != 0)
|
||||
{
|
||||
foreach (var spellEffectInfo in spellInfo.GetEffects())
|
||||
|
||||
Reference in New Issue
Block a user