當前位置: 首頁>>代碼示例>>C#>>正文


C# PlayerMobile.FixedEffect方法代碼示例

本文整理匯總了C#中Server.Mobiles.PlayerMobile.FixedEffect方法的典型用法代碼示例。如果您正苦於以下問題:C# PlayerMobile.FixedEffect方法的具體用法?C# PlayerMobile.FixedEffect怎麽用?C# PlayerMobile.FixedEffect使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Server.Mobiles.PlayerMobile的用法示例。


在下文中一共展示了PlayerMobile.FixedEffect方法的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: OfferHeal

		public virtual void OfferHeal( PlayerMobile m )
		{
			Direction = GetDirectionTo( m );

	//		if ( m.CheckYoungHealTime() )
			if ( DateTime.Now >= m_NextResurrect )
			{
				Say("Here's some help"); // You look like you need some healing my child.
				Say("In Vas Mani");

				m.PlaySound( 0x1F2 );
				m.FixedEffect( 0x376A, 9, 32 );

				m.Hits = (m.Hits + 50);
				m_NextResurrect = DateTime.Now + ResurrectDelay;
			}
			else
			{
				Say("You should be good"); // I can do no more for you at this time.
			}
		}
開發者ID:nick12344356,項目名稱:The-Basement,代碼行數:21,代碼來源:BaseBlue.cs

示例2: OfferHeal

		public virtual void OfferHeal( PlayerMobile m )
		{
			Direction = GetDirectionTo( m );

			if ( m.CheckYoungHealTime() )
			{
				Say( 501229 ); // You look like you need some healing my child.

				m.PlaySound( 0x1F2 );
				m.FixedEffect( 0x376A, 9, 32 );

				m.Hits = m.HitsMax;
			}
			else
			{
				Say( 501228 ); // I can do no more for you at this time.
			}
		}
開發者ID:nathanvy,項目名稱:runuo,代碼行數:18,代碼來源:BaseHealer.cs

示例3: OfferHeal

		public override void OfferHeal( PlayerMobile m )
		{
			Direction = GetDirectionTo( m );

			if ( m.CheckYoungHealTime() )
			{
				Say( 501229 ); // You look like you need some healing my child.

				m.PlaySound( 0x1F2 );
				m.FixedEffect( 0x376A, 9, 32 );

				m.Hits = m.HitsMax;
				Effects.SendLocationParticles( EffectItem.Create( this.Location, this.Map, EffectItem.DefaultDuration ), 0x3728, 1, 10, 0x26B6 );
				Effects.PlaySound( this.Location, this.Map, this.BaseSoundID );
				Delete();
			}
			else
			{
				PublicOverheadMessage( 0, 96, true, "Haven't we done enough?" );
				Effects.SendLocationParticles( EffectItem.Create( this.Location, this.Map, EffectItem.DefaultDuration ), 0x3728, 1, 10, 0x26B6 );
				Effects.PlaySound( this.Location, this.Map, this.BaseSoundID );
				Delete();

				// Say( 501228 ); // I can do no more for you at this time.
			}
		}
開發者ID:greeduomacro,項目名稱:dragonknights-uo,代碼行數:26,代碼來源:HealingFairy.cs

示例4: OfferHeal

		public override void OfferHeal( PlayerMobile m )
		{
			Direction = GetDirectionTo( m );

			if ( m.CheckYoungHealTime() )
			{
				Say( "Let me annoint thee with oil, my child." );

				m.PlaySound( 0x1F2 );
				m.FixedEffect( 0x376A, 9, 32 );

				m.Hits = m.HitsMax;
			}
			else
			{
				Say( 501228 ); // I can do no more for you at this time.
			}
		}
開發者ID:greeduomacro,項目名稱:annox,代碼行數:18,代碼來源:WanderingPreacher.cs

示例5: OfferHeal

		public virtual void OfferHeal( PlayerMobile m )
		{
			Direction = GetDirectionTo( m );

			Say( 501229 ); //You look like you need some healing my child.

			m.PlaySound( 0x1F2 );
			m.FixedEffect( 0x376A, 9, 32 );

			m.Hits = m.HitsMax;
			m.Poison = null;
		}
開發者ID:greeduomacro,項目名稱:hubroot,代碼行數:12,代碼來源:BaseHealer.cs

示例6: OfferHeal

		public virtual void OfferHeal( PlayerMobile m )
		{
			Direction = GetDirectionTo( m );

			if ( m.CheckYoungHealTime() )
			{
				Say( "Vous semblez avoir besoin de soin" ); // You look like you need some healing my child.

				m.PlaySound( 0x1F2 );
				m.FixedEffect( 0x376A, 9, 32 );

				m.Hits = m.HitsMax;
			}
			else
			{
				Say( "Je ne peux rien faire de plus pour vous" ); // I can do no more for you at this time.
			}
		}
開發者ID:greeduomacro,項目名稱:vivre-uo,代碼行數:18,代碼來源:BaseHealer.cs


注:本文中的Server.Mobiles.PlayerMobile.FixedEffect方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。