Scripts/Spells: Fix target limit of monk talents Revival/Restoral
Port From (https://github.com/TrinityCore/TrinityCore/commit/76c397ed8d1881f9b4127455050170c6e58b1d4d)
This commit is contained in:
@@ -4672,6 +4672,18 @@ namespace Game.Entities
|
|||||||
spellInfo._LoadSqrtTargetLimit(5, 0, 212431, 1, null, null);
|
spellInfo._LoadSqrtTargetLimit(5, 0, 212431, 1, null, null);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Revival
|
||||||
|
ApplySpellFix([115310], spellInfo =>
|
||||||
|
{
|
||||||
|
spellInfo._LoadSqrtTargetLimit(5, 0, null, 4, null, null);
|
||||||
|
});
|
||||||
|
|
||||||
|
// Restoral
|
||||||
|
ApplySpellFix([388615], spellInfo =>
|
||||||
|
{
|
||||||
|
spellInfo._LoadSqrtTargetLimit(5, 0, null, 4, null, null);
|
||||||
|
});
|
||||||
|
|
||||||
Log.outInfo(LogFilter.ServerLoading, $"Loaded SpellInfo target caps in {Time.GetMSTimeDiffToNow(oldMSTime)} ms");
|
Log.outInfo(LogFilter.ServerLoading, $"Loaded SpellInfo target caps in {Time.GetMSTimeDiffToNow(oldMSTime)} ms");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user