当前位置: 首页>>代码示例>>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;未经允许,请勿转载。