Server.Spells.SpellHelper.Heal C# (CSharp) Méthode

Heal() public static méthode

public static Heal ( int amount, Mobile target, Mobile from ) : void
amount int
target Mobile
from Mobile
Résultat void
		public static void Heal( int amount, Mobile target, Mobile from )
		{
			Heal( amount, target, from, true );
		}
		public static void Heal( int amount, Mobile target, Mobile from, bool message )

Same methods

SpellHelper::Heal ( int amount, Mobile target, Mobile from, bool message ) : void

Usage Example

Exemple #1
0
        public void Heal(Mobile caster, Mobile m)
        {
            double toHeal;

            toHeal = Caster.Skills[SkillName.ArtMagique].Value / 5;
            //toHeal += Caster.Skills[SkillName.EvalInt].Value / 10;
            toHeal += Utility.Random(1, 3);


            SpellHelper.Heal(m, (int)toHeal, true);

            Effects.SendTargetParticles(m, 0x376A, 9, 32, 5005, EffectLayer.Waist);
            m.PlaySound(0x1F2);
        }
All Usage Examples Of Server.Spells.SpellHelper::Heal