Core/Combat Improve extra attacks handling

Port From (https://github.com/TrinityCore/TrinityCore/commit/6c9bde098b40f38905ea7407d0cd77437b0b953c)
This commit is contained in:
hondacrx
2022-05-29 23:42:17 -04:00
parent 44b70d8db9
commit faa937a9da
8 changed files with 71 additions and 48 deletions
+4 -1
View File
@@ -69,7 +69,10 @@ namespace Game.Entities
public bool m_canDualWield;
public int BaseSpellCritChance { get; set; }
public uint RegenTimer { get; set; }
public uint ExtraAttacks { get; set; }
uint _lastExtraAttackSpell;
Dictionary<ObjectGuid, uint> extraAttacksTargets = new();
ObjectGuid _lastDamagedTargetGuid;
//Charm
public List<Unit> m_Controlled = new();