I don't know how to initialize an event with "hits" Help pls

Serj

Citizen
I would like to create an "event" that listens ( checks ) the character's health (hits)
when "Hits" below 33
call
method call Would like to use a delegate:
BleedAttack.method
Obviously need to use:
Using Server.Mobiles
Post automatically merged:

any suggestion of the code Would be helpful
 
Last edited:

Serj

Citizen
so im scratched something
Stuck on Invoke argumetns:
namespace Server.Mobiles {

class inizializator
{
    public delegate void serveD (Mobile m, Mobile from, bool splintering);
    serveD bleedAttackMethodE = Server.Items.BleedAttack.BeginBleed;
    #region For Delegate invoke
     serveD.Invoke();
     #endregion
}
}

Form where I could take objects of type "Mobile m" (perhaps defender) and "Mobile from" (perhaps attacker)?