Ejemplo n.º 1
0
        public override void OnDamage(int amount, Mobile from, bool willKill)
        {
            if (from != null && 0.01 >= Utility.RandomDouble())
            {
                BaseCreature spawn = new ConfusedFairy();

                spawn.Team = this.Team;
                spawn.MoveToWorld(from.Location, from.Map);
                spawn.Combatant = from;
                spawn.Say("Here I am my master");
            }
            base.OnDamage(amount, from, willKill);
        }
Ejemplo n.º 2
0
		public override void OnDamage(int amount, Mobile from, bool willKill)
		{
			if (from != null && 0.01 >= Utility.RandomDouble() )
			{
				BaseCreature spawn = new ConfusedFairy();

				spawn.Team = this.Team;
				spawn.MoveToWorld( from.Location, from.Map );
				spawn.Combatant = from;
				spawn.Say("Here I am my master");
			}
			base.OnDamage(amount, from, willKill);
		}