コード例 #1
0
ファイル: TargetedSpellsong.cs プロジェクト: nogu3ira/xrunuo
        public override void OnCast()
        {
            Spellsong song = GetActiveSpellsong(Caster, this.GetType());

            if (song != null)
            {
                // You halt your spellsong.
                song.InterruptSong(1115774);
            }
            else
            {
                Caster.Target = new InternalTarget(this);
            }
        }
コード例 #2
0
ファイル: AreaSpellsong.cs プロジェクト: nogu3ira/xrunuo
        public override void OnCast()
        {
            Spellsong song = GetActiveSpellsong(Caster, this.GetType());

            if (song != null)
            {
                // You halt your spellsong.
                song.InterruptSong(1115774);
            }
            else if (CheckSequence())
            {
                m_Targets = new HashSet <Mobile>();

                StartSong();
            }

            FinishSequence();
        }