Inheritance: MagerySpell
コード例 #1
0
 public InternalSphereTarget(NightSightSpell owner)
     : base(Core.ML ? 10 : 12, false, TargetFlags.Beneficial)
 {
     m_Owner = owner;
     m_Owner.Caster.SendAsciiMessage("Selecione o alvo...");
 }
コード例 #2
0
ファイル: NightSight.cs プロジェクト: Evad-lab/ServUOX
 public NightSightTarget(NightSightSpell spell)
     : base(12, false, TargetFlags.Beneficial)
 {
     m_Spell = spell;
 }
コード例 #3
0
 public InternalSphereTarget(NightSightSpell owner)
     : base(Core.ML ? 10 : 12, false, TargetFlags.Beneficial)
 {
     m_Owner = owner;
     m_Owner.Caster.SendAsciiMessage("Select target...");
 }
コード例 #4
0
 public InternalTarget(NightSightSpell owner) : base(12, false, TargetFlags.Beneficial)
 {
     m_Owner = owner;
 }
コード例 #5
0
ファイル: BaseJewel.cs プロジェクト: zerodowned/angelisland
		public bool ApplyNightSight(PlayerMobile Wearer)
		{
			Spell spell = new NightSightSpell(Wearer,null);

			if( Wearer == null )
				return false;

			if (Wearer.Region.OnBeginSpellCast( Wearer, spell ) == false)
			{
				Wearer.SendMessage("The magic normally within this object seems absent.");
				return false;
			}	
			//Pix: this was borrowed from the NightSight spell...
			else if( Wearer.BeginAction( typeof( LightCycle ) ) )
			{
				new LightCycle.NightSightTimer( Wearer ).Start();

				int level = 25;

				Wearer.LightLevel = level;

				Wearer.FixedParticles( 0x376A, 9, 32, 5007, EffectLayer.Waist );
				Wearer.PlaySound( 0x1E3 );

				return true;
			}

			return false;
		}