ÄÚµå : |
if ( m.CheckSkill( SkillName.Meditation, 0, 100 ) )
{
m.SendLocalizedMessage( 501851 ); // You enter a meditative trance.
m.Meditating = true;
if ( m.Player || m.Body.IsHuman )
m.PlaySound( 0xF9 );
}
|
ÄÚµå : |
if ( m.CheckSkill( SkillName.Meditation, 0, 50 ) )
{
m.SendLocalizedMessage( 501851 ); // You enter a meditative trance.
m.Meditating = true;
if ( m.Player || m.Body.IsHuman )
m.PlaySound( 0xF9 );
return TimeSpan.FromSeconds( 2.5 );
}
if ( m.CheckSkill( SkillName.Meditation, 51, 100 ) )
{
m.SendLocalizedMessage( 501851 ); // You enter a meditative trance.
m.Meditating = true;
if ( m.Player || m.Body.IsHuman )
m.PlaySound( 0xF9 );
return TimeSpan.FromSeconds( 1.0 );
}
|
ÄÚµå : |
return TimeSpan.FromSeconds( 1.0 );
|