Core/Players: Fixed base hit chance initialization for players
Port From (https://github.com/TrinityCore/TrinityCore/commit/1f8eddc4f0cf443c45a930bc919007541210984a)
This commit is contained in:
@@ -60,12 +60,9 @@ namespace Game.Entities
|
||||
for (byte i = 0; i < (int)WeaponAttackType.Max; ++i)
|
||||
m_weaponDamage[i] = new float[] { 1.0f, 2.0f };
|
||||
|
||||
if (IsTypeId(TypeId.Player))
|
||||
{
|
||||
ModMeleeHitChance = 7.5f;
|
||||
ModRangedHitChance = 7.5f;
|
||||
ModSpellHitChance = 15.0f;
|
||||
}
|
||||
ModMeleeHitChance = 0.0f;
|
||||
ModRangedHitChance = 0.0f;
|
||||
ModSpellHitChance = 0.0f;
|
||||
BaseSpellCritChance = 5;
|
||||
|
||||
for (byte i = 0; i < (int)UnitMoveType.Max; ++i)
|
||||
|
||||
Reference in New Issue
Block a user