示例#1
0
            public override void OnCast()
            {
                var customRegion = m_Caster.Region as CustomRegion;

                if (customRegion != null && customRegion.Controller != null && customRegion.Controller.NoPets)
                {
                    m_Caster.SendMessage("You cannot summon your pet here as no pets are allowed in this area!");
                }
                m_Ball.SummonPet(m_Caster);

                FinishSequence();
            }
示例#2
0
            public override void OnCast()
            {
                m_Ball.SummonPet(m_Caster);

                FinishSequence();
            }