本文整理汇总了C#中Server.Mobiles.PlayerMobile.CheckYoungHealTime方法的典型用法代码示例。如果您正苦于以下问题:C# PlayerMobile.CheckYoungHealTime方法的具体用法?C# PlayerMobile.CheckYoungHealTime怎么用?C# PlayerMobile.CheckYoungHealTime使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Server.Mobiles.PlayerMobile
的用法示例。
在下文中一共展示了PlayerMobile.CheckYoungHealTime方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: 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.
}
}
示例2: 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.
}
}
示例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.
}
}
示例4: 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.
}
}