コード例 #1
0
        public override void OnGotMeleeAttack(Mobile attacker)
        {
            if (attacker != this && 0.25 > Utility.RandomDouble())
            {
                BaseCreature spawn = new StarvingSouls(this);

                spawn.Team = this.Team;
                spawn.MoveToWorld(this.Location, this.Map);
                spawn.Combatant = attacker;

                // Say(1053034); // * The plague beast creates another beast from its flesh! *
            }

            base.OnGotMeleeAttack(attacker);
        }
コード例 #2
0
           public override void OnGotMeleeAttack(Mobile attacker)
           {
               if (attacker != this && 0.25 > Utility.RandomDouble())
               {
                   BaseCreature spawn = new StarvingSouls(this);

                   spawn.Team = this.Team;
                   spawn.MoveToWorld(this.Location, this.Map);
                   spawn.Combatant = attacker;

                  // Say(1053034); // * The plague beast creates another beast from its flesh! *
               }

               base.OnGotMeleeAttack(attacker);
           }