コード例 #1
0
ファイル: SpawnDjinnStone.cs プロジェクト: mynew4/DAoC
        /// <summary>
        /// Spawns the djinn as soon as the stone is added to
        /// the world.
        /// </summary>
        /// <returns></returns>
        public override bool AddToWorld()
        {
            if (Djinn == null)
                Djinn = new PermanentDjinn(this);

            return base.AddToWorld();
        }
コード例 #2
0
ファイル: SpawnDjinnStone.cs プロジェクト: mywebext/DOL
        /// <summary>
        /// Spawns the djinn as soon as the stone is added to
        /// the world.
        /// </summary>
        /// <returns></returns>
        public override bool AddToWorld()
        {
            if (Djinn == null)
            {
                Djinn = new PermanentDjinn(this);
            }

            return(base.AddToWorld());
        }