Can anyone tell me what this is and where to find it in the code?

redparticleeffect.jpg

A lot of monsters will trigger this sometimes with annoying frequency when they hit you and I am just curious what it is.
 
Can anyone tell me what this is and where to find it in the code?

View attachment 15807

A lot of monsters will trigger this sometimes with annoying frequency when they hit you and I am just curious what it is.
It seems like bleed attack,this code is from it (bleedattack.cs):

C#:
m.PlaySound(0x133);
m.FixedParticles(0x377A, 244, 25, 9950, 31, 0, EffectLayer.Waist);

So,i tryed to do it,seems to work,this is my AlterMeleeDamageTo inside my BaseCreature.cs,if you do that all creatures doing melee damage will do the blood particles under target.

C#:
public virtual void AlterMeleeDamageTo(Mobile to, ref int damage)
        {
            to.PlaySound(0x133); //Original bleed sound,you can change.
            to.FixedParticles(0x377A, 244, 25, 9950, 31, 0, EffectLayer.Waist); //Original bleed particles.
            if (m_TempDamageBonus > 0 && TastyTreat.UnderInfluence(this))
                damage += damage / m_TempDamageBonus;
        }
 
Last edited:
Back