Core/Scripts: Change PlayerScript and CreatureScript inheritance

Port From (https://github.com/TrinityCore/TrinityCore/commit/ed5ba915f1ec7dad8f4935b62b0ec2d202d26c1c)
This commit is contained in:
hondacrx
2021-11-23 22:41:58 -05:00
parent ba72792783
commit 812b227ad8
2 changed files with 6 additions and 8 deletions
-1
View File
@@ -1098,7 +1098,6 @@ namespace Game.Scripting
{
int dmg = damage;
ForEach<UnitScript>(p => p.ModifySpellDamageTaken(target, attacker, ref dmg, spellInfo));
ForEach<PlayerScript>(p => p.ModifySpellDamageTaken(target, attacker, ref dmg, spellInfo));
damage = dmg;
}