Core/Spells: CastSpell Cleanup

Port From (https://github.com/TrinityCore/TrinityCore/commit/)
This commit is contained in:
hondacrx
2021-04-18 18:42:11 -04:00
parent b1ea7212f3
commit d0faa12ef6
45 changed files with 775 additions and 632 deletions
+2 -1
View File
@@ -19,6 +19,7 @@ using Framework.Constants;
using Game.AI;
using Game.Entities;
using Game.Scripting;
using Game.Spells;
namespace Scripts.Pets
{
@@ -68,7 +69,7 @@ namespace Scripts.Pets
}
if (!_isViper)
DoCast(me, SpellIds.DeadlyPoisonPassive, true);
DoCast(me, SpellIds.DeadlyPoisonPassive, new CastSpellExtraArgs(true));
}
// Redefined for random target selection: