当前位置: 首页>>代码示例>>C#>>正文


C# SkillMod类代码示例

本文整理汇总了C#中SkillMod的典型用法代码示例。如果您正苦于以下问题:C# SkillMod类的具体用法?C# SkillMod怎么用?C# SkillMod使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


SkillMod类属于命名空间,在下文中一共展示了SkillMod类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: DefineMods

		private void DefineMods()
		{
			m_SkillMod0 = new DefaultSkillMod( SkillName.AnimalLore, true, 15 ); 
			m_SkillMod1 = new DefaultSkillMod( SkillName.Herding, true, 15 ); 
			m_SkillMod2 = new DefaultSkillMod( SkillName.Tracking, true, 15 ); 
			m_StatMod0 = new StatMod( StatType.Int, "Arch Druid Cloak", 15, TimeSpan.Zero ); 
		}
开发者ID:greeduomacro,项目名称:vivre-uo,代码行数:7,代码来源:DruidCloak.cs

示例2: DefineMods

		private void DefineMods()
		{
			m_SkillMod0 = new DefaultSkillMod( SkillName.Swords, true, 5 );
			m_SkillMod1 = new DefaultSkillMod( SkillName.Tactics, true, 5 );
			m_SkillMod2 = new DefaultSkillMod( SkillName.Anatomy, true, 5 ); 
			//m_StatMod0 = new StatMod( StatType.Int, "MagiCloak", 5, TimeSpan.Zero ); 
		}
开发者ID:greeduomacro,项目名称:cov-shard-svn-1,代码行数:7,代码来源:AlligatorBelt.cs

示例3: DefineMods

		private void DefineMods()
		{
			m_SkillMod0 = new DefaultSkillMod( SkillName.AnimalLore, true, 10 ); 
			m_SkillMod1 = new DefaultSkillMod( SkillName.AnimalTaming, true, 10 ); 
			m_SkillMod2 = new DefaultSkillMod( SkillName.Peacemaking, true, 10 ); 
			m_StatMod0 = new StatMod( StatType.Dex, "DruidCloak", 15, TimeSpan.Zero ); 
		}
开发者ID:greeduomacro,项目名称:unknown-shard-1,代码行数:7,代码来源:DruidCloak.cs

示例4: OnAdded

		public override void OnAdded( object parent )
		{
			base.OnAdded( parent );

			if ( parent is Mobile )
			{
				Mobile from = parent as Mobile;
				if ( m_SkillMod1 != null )
					m_SkillMod1.Remove();
				if (m_SkillMod2 != null )
					m_SkillMod2.Remove();
				int amount = 25;
				if (from.SkillsCap < from.SkillsTotal + (amount * 10))
					amount = (from.SkillsCap - from.SkillsTotal) / 10;
				m_SkillMod1 = new DefaultSkillMod( m_Skill1, true, amount );
				m_SkillMod1.ObeyCap = true;
				from.AddSkillMod( m_SkillMod1 );
				amount = 25;
				if (from.SkillsCap < from.SkillsTotal + (amount * 10))
					amount = (from.SkillsCap - from.SkillsTotal) / 10;
				m_SkillMod2 = new DefaultSkillMod( m_Skill2, true, amount );
				m_SkillMod2.ObeyCap = true;
				from.AddSkillMod( m_SkillMod2 );
			}
		}
开发者ID:kamronbatman,项目名称:DefianceUO-Pre1.10,代码行数:25,代码来源:MondainHat.cs

示例5: DefineMods

		private void DefineMods()
		{
			m_SkillMod0 = new DefaultSkillMod( SkillName.Hiding, true, 10 ); 
			m_SkillMod1 = new DefaultSkillMod( SkillName.Stealth, true, 10 ); 
			m_SkillMod2 = new DefaultSkillMod( SkillName.Healing, true, -10 ); 
			m_StatMod0 = new StatMod( StatType.Dex, "ElvenCloak", 5, TimeSpan.Zero ); 
		}
开发者ID:greeduomacro,项目名称:cov-shard-svn-1,代码行数:7,代码来源:GeorgesCloak.cs

示例6: DefineMods

		private void DefineMods()
		{
			m_SkillMod0 = new DefaultSkillMod( SkillName.Necromancy, true, 20 ); 
			m_SkillMod1 = new DefaultSkillMod( SkillName.SpiritSpeak, true, 20 ); 
			m_SkillMod2 = new DefaultSkillMod( SkillName.MagicResist, true, 20 ); 
			m_StatMod0 = new StatMod( StatType.Dex, "DruidCloak", 15, TimeSpan.Zero ); 
		}
开发者ID:Tukaramdas,项目名称:ServUO-EC-Test-Fork,代码行数:7,代码来源:RedTunic.cs

示例7: DefineMods

		private void DefineMods()
		{
			m_SkillMod0 = new DefaultSkillMod( SkillName.Magery, true, 20 ); 
			m_SkillMod1 = new DefaultSkillMod( SkillName.EvalInt, true, 20 ); 
			m_SkillMod2 = new DefaultSkillMod( SkillName.Meditation, true, 20 ); 
			m_StatMod0 = new StatMod( StatType.Int, "MagiCloak", 20, TimeSpan.Zero ); 
		}
开发者ID:greeduomacro,项目名称:unknown-shard-1,代码行数:7,代码来源:CloakOfTheMagi.cs

示例8: DefineMods

		private void DefineMods()
		{
			m_SkillMod0 = new DefaultSkillMod( SkillName.SpiritSpeak, true, 5 );
			m_SkillMod1 = new DefaultSkillMod( SkillName.EvalInt, true, 5 );
			m_SkillMod2 = new DefaultSkillMod( SkillName.Necromancy, true, 5 );
			m_StatMod0 = new StatMod( StatType.Int, "MagiCloak", 5, TimeSpan.Zero );
		}
开发者ID:greeduomacro,项目名称:cov-shard-svn-1,代码行数:7,代码来源:CloakOfTheNecromancer.cs

示例9: DefineMods

		private void DefineMods()
		{
			m_SkillMod0 = new DefaultSkillMod( SkillName.Peacemaking, true, 15 ); 
			m_SkillMod1 = new DefaultSkillMod( SkillName.Swords, true, 15 ); 
			m_SkillMod2 = new DefaultSkillMod( SkillName.Healing, true, 15 ); 
			m_StatMod0 = new StatMod( StatType.Str, "CloakofSirKen", 15, TimeSpan.Zero ); 
		}
开发者ID:greeduomacro,项目名称:cov-shard-svn-1,代码行数:7,代码来源:CloakofSirKen.cs

示例10: DefineMods

		private void DefineMods()
		{
			m_SkillMod0 = new DefaultSkillMod( SkillName.Swords, true, 20 ); 
			m_SkillMod1 = new DefaultSkillMod( SkillName.Parry, true, 20 ); 
			m_SkillMod2 = new DefaultSkillMod( SkillName.MagicResist, true, 20 ); 
			m_StatMod0 = new StatMod( StatType.Dex, "DruidCloak", 15, TimeSpan.Zero ); 
		}
开发者ID:Tukaramdas,项目名称:ServUO-EC-Test-Fork,代码行数:7,代码来源:GTunic.cs

示例11: OnRemoved

		public override void OnRemoved( object parent )
		{
			if( UseSkillMod && m_BSMod != null )
			{
				m_BSMod.Remove();
				m_BSMod = null;
			}
		}
开发者ID:FreeReign,项目名称:imaginenation,代码行数:8,代码来源:GMSmithHammer.cs

示例12: RemoveSkillMod

		public void RemoveSkillMod()
		{
			m_SkillMod.Owner.SendLocalizedMessage( 1075541 ); //The scent of herbs gradually fades away...

			m_SkillMod.Remove();
			m_SkillMod = null;
			m_Active = false;
		}
开发者ID:ITLongwell,项目名称:aedilis2server,代码行数:8,代码来源:BasketOfHerbs.cs

示例13: DefineMods

		private void DefineMods()
		{
			m_SkillMod0 = new DefaultSkillMod( SkillName.Stealth, true, 20 ); 
			m_SkillMod1 = new DefaultSkillMod( SkillName.Hiding, true, 20 ); 
			m_SkillMod2 = new DefaultSkillMod( SkillName.Stealing, true, 20 );
                        m_SkillMod3 = new DefaultSkillMod( SkillName.Fencing, true, 20 );  
			m_StatMod0 = new StatMod( StatType.Dex, "RogueCloak", 15, TimeSpan.Zero ); 
		}
开发者ID:greeduomacro,项目名称:unknown-shard-1,代码行数:8,代码来源:RogueCloak.cs

示例14: DefineMods

		private void DefineMods()
		{
			m_SkillMod0 = new DefaultSkillMod( SkillName.Healing, true, 20 ); 
			m_SkillMod1 = new DefaultSkillMod( SkillName.Swords, true, 20 ); 
			m_SkillMod2 = new DefaultSkillMod( SkillName.Chivalry, true, 20 ); 
                        m_SkillMod3 = new DefaultSkillMod( SkillName.Macing, true, 20 );
			m_StatMod0 = new StatMod( StatType.Str, "FighterCloak", 15, TimeSpan.Zero ); 
		}
开发者ID:greeduomacro,项目名称:unknown-shard-1,代码行数:8,代码来源:FighterCloak.cs

示例15: OnRemoved

		public override void OnRemoved( object parent )
		{
			base.OnRemoved( parent );

			if ( m_SkillMod != null )
				m_SkillMod.Remove();

			m_SkillMod = null;
		}
开发者ID:FreeReign,项目名称:imaginenation,代码行数:9,代码来源:AncientSmithyHammer.cs


注:本文中的SkillMod类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。