public void ReceiveDamage(IAttackerEntity attacker, CharacterItem weapon, Dictionary <DamageElement, MinMaxFloat> allDamageAmounts, CharacterBuff debuff, uint hitEffectsId)
        {
            List <DamageElement> keys = new List <DamageElement>(allDamageAmounts.Keys);

            foreach (DamageElement key in keys)
            {
                allDamageAmounts[key] = allDamageAmounts[key] * damageRate;
            }
            characterEntity.ReceiveDamageFunction(attacker, weapon, allDamageAmounts, debuff, hitEffectsId);
        }