<commit_before>using System;
using ACE.Entity.Enum;
using ACE.Server.Network.Enum;

namespace ACE.Server.Network.GameEvent.Events
{
    public class GameEventDefenderNotification : GameEventMessage
    {
        public GameEventDefenderNotification(Session session, string attackerName, DamageType damageType, float percent, uint damage, DamageLocation damageLocation, bool criticalHit, AttackConditions attackConditions)
            : base(GameEventType.DefenderNotification, GameMessageGroup.UIQueue, session)
        {
            Writer.WriteString16L(attackerName);
            Writer.Write((uint)damageType);
            Writer.Write((double)percent);
            Writer.Write(damage);
            Writer.Write((uint)damageLocation);
            Writer.Write(Convert.ToUInt16(criticalHit));
            Writer.Write((UInt64)attackConditions);
        }
    }
}<commit_msg>Fix message length. (#809)<commit_after>using System;
using ACE.Entity.Enum;
using ACE.Server.Network.Enum;

namespace ACE.Server.Network.GameEvent.Events
{
    public class GameEventDefenderNotification : GameEventMessage
    {
        public GameEventDefenderNotification(Session session, string attackerName, DamageType damageType, float percent, uint damage, DamageLocation damageLocation, bool criticalHit, AttackConditions attackConditions)
            : base(GameEventType.DefenderNotification, GameMessageGroup.UIQueue, session)
        {
            Writer.WriteString16L(attackerName);
            Writer.Write((uint)damageType);
            Writer.Write((double)percent);
            Writer.Write(damage);
            Writer.Write((uint)damageLocation);
            Writer.Write(Convert.ToUInt32(criticalHit));
            Writer.Write((UInt64)attackConditions);
            Writer.Align();
        }
    }
}
{'fraction_non_alphanumeric': 0.09015025041736227, 'fraction_numerical': 0.008347245409015025, 'mean_word_length': 3.3325301204819278, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '984609', 'n_tokens_mistral': 480, 'n_tokens_neox': 450, 'n_words': 82}