コード例 #1
0
        }                                            //XUO Chro blah useless

        public void iTarget(BaseExplosionPotion pot) //Taran: When casted on explosion pots they explode
        {
            if (!Caster.CanSee(pot))
            {
                Caster.SendLocalizedMessage(500237); // Target can not be seen.
            }
            else if (CheckSequence())
            {
                Mobile source = Caster;

                pot.Explode(source, true, pot.GetWorldLocation(), pot.Map);

                source.MovingParticles(pot, 0x36E4, 5, 0, false, true, 3006, 4006, 0);
                source.PlaySound(Sound);
            }
            FinishSequence();
        }
コード例 #2
0
ファイル: FlameStrike.cs プロジェクト: rberiot/imaginenation
        }                                            //XUO insta damage

        public void iTarget(BaseExplosionPotion pot) //Taran: When casted on explosion pots they explode
        {
            if (!Caster.CanSee(pot))
            {
                Caster.SendLocalizedMessage(500237); // Target can not be seen.
            }
            else
            {
                Mobile source = Caster;

                pot.Explode(source, true, pot.GetWorldLocation(), pot.Map);

                //pot.FixedParticles(0x3709, 10, 30, 5052, EffectLayer.LeftFoot);
                source.PlaySound(Sound);
            }
            CheckSequence();
            FinishSequence();
        }