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


C# ExGatherTag.IsUnspoiled方法代码示例

本文整理汇总了C#中ExGatherTag.IsUnspoiled方法的典型用法代码示例。如果您正苦于以下问题:C# ExGatherTag.IsUnspoiled方法的具体用法?C# ExGatherTag.IsUnspoiled怎么用?C# ExGatherTag.IsUnspoiled使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在ExGatherTag的用法示例。


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

示例1: ExecuteRotation

		public override async Task<bool> ExecuteRotation(ExGatherTag tag)
		{
			if (tag.IsUnspoiled())
			{
				await SingleMindMethodical(tag);
				await SingleMindMethodical(tag);
				await UtmostCaution(tag);
				await Methodical(tag);
				await UtmostCaution(tag);
				await Methodical(tag);
			}
			else
			{
				if (Core.Player.CurrentGP >= 600)
				{
					await SingleMindMethodical(tag);
					await SingleMindMethodical(tag);
					await UtmostCaution(tag);
					await Methodical(tag);
					await UtmostCaution(tag);
					await Methodical(tag);
					return true;
				}
				
				await Impulsive(tag);
				await Impulsive(tag);
				await Methodical(tag);
			}
			return true;
		}
开发者ID:Entrax643,项目名称:EntraxBuddy,代码行数:30,代码来源:Collect460GatheringRotation.cs

示例2:

		int IGetOverridePriority.GetOverridePriority(ExGatherTag tag)
		{
			if (tag.IsEphemeral() || tag.IsUnspoiled() || tag.CollectableItem != null)
			{
				return -1;
			}

			return 8000;
		}
开发者ID:MGramolini,项目名称:ExBuddy,代码行数:9,代码来源:RegularNodeGatheringRotation.cs

示例3:

		int IGetOverridePriority.GetOverridePriority(ExGatherTag tag)
		{
			if (tag.IsEphemeral() || tag.IsUnspoiled())
			{
				return -1;
			}

			return 8000;
		}
开发者ID:mrfish4u,项目名称:ExBuddy,代码行数:9,代码来源:RegularNodeGatheringRotation.cs

示例4: ResolveInternalGatheringRotation

		protected virtual IGatheringRotation ResolveInternalGatheringRotation(ExGatherTag tag)
		{
			if (tag.IsUnspoiled())
			{
				return ExGatherTag.Rotations["Unspoiled"];
			}

			return ExGatherTag.Rotations["RegularNode"];
		}
开发者ID:MGramolini,项目名称:ExBuddy,代码行数:9,代码来源:SmartGatheringRotation.cs

示例5:

		int IGetOverridePriority.GetOverridePriority(ExGatherTag tag)
		{
			if (tag.IsUnspoiled() && tag.CollectableItem == null)
			{
				return 8000;
			}

			return -1;
		}
开发者ID:mrfish4u,项目名称:ExBuddy,代码行数:9,代码来源:UnspoiledGatheringRotation.cs

示例6: Prepare

		public override async Task<bool> Prepare(ExGatherTag tag)
		{
			var unknownItems = GatheringManager.GatheringWindowItems.Where(i => i.IsUnknownChance() && i.Amount > 0).ToArray();

			if (tag.IsUnspoiled() && Core.Player.CurrentGP >= 550 && unknownItems.Length > 1)
			{
				await tag.Cast(Ability.Toil);
			}

			return await base.Prepare(tag);
		}
开发者ID:MGramolini,项目名称:ExBuddy,代码行数:11,代码来源:DiscoverUnknownsGatheringRotation.cs

示例7:

		int IGetOverridePriority.GetOverridePriority(ExGatherTag tag)
		{
			if (tag.GatherItem == null)
			{
				return -1;
			}

			if (tag.GatherItem.IsUnknown || (tag.IsUnspoiled() && tag.GatherItem.Chance == 25))
			{
				return int.MaxValue;
			}

			return -1;
		}
开发者ID:MGramolini,项目名称:ExBuddy,代码行数:14,代码来源:DiscoverUnknownsGatheringRotation.cs

示例8: ExecuteRotation

		public override async Task<bool> ExecuteRotation(ExGatherTag tag)
		{
			if (tag.IsUnspoiled())
			{
				await AppraiseAndRebuff(tag);
				await AppraiseAndRebuff(tag);
				await Methodical(tag);
			}
			else
			{
				if (Core.Player.CurrentGP >= 600)
				{
					await AppraiseAndRebuff(tag);
					await AppraiseAndRebuff(tag);
					await Methodical(tag);
					return true;
				}

				await Impulsive(tag);
				await Impulsive(tag);
				await Methodical(tag);
			}
			return true;
		}
开发者ID:Entrax643,项目名称:EntraxBuddy,代码行数:24,代码来源:Collect410GatheringRotation.cs

示例9: ShouldForceGather

		public override bool ShouldForceGather(ExGatherTag tag)
		{
			return !tag.IsEphemeral() && !tag.IsUnspoiled();
		}
开发者ID:MGramolini,项目名称:ExBuddy,代码行数:4,代码来源:CollectableGatheringRotation.cs

示例10: ExecuteRotation

		public override async Task<bool> ExecuteRotation(ExGatherTag tag)
		{
			if (tag.IsUnspoiled())
			{
				await UtmostCaution(tag);
				await AppraiseAndRebuff(tag);
				await UtmostMethodical(tag);
				await AppraiseAndRebuff(tag);
				await Methodical(tag);
				await IncreaseChance(tag);
			}
			else
			{
				// if 58+
				if (tag.GatherItem.Chance < 98 && Core.Player.CurrentGP >= 600)
				{
					// if 60 or cordial is ready and is 58
					if (tag.GatherItem.Chance < 97 || tag.CanUseCordial(Attributes.RequiredTimeInSeconds))
					{
						var appraisalsRemaining = 4;
						await Impulsive(tag);
						appraisalsRemaining--;

						if (HasDiscerningEye)
						{
							await UtmostSingleMindMethodical(tag);
							appraisalsRemaining--;
						}

						await Impulsive(tag);
						appraisalsRemaining--;

						if (HasDiscerningEye)
						{
							await UtmostSingleMindMethodical(tag);
							appraisalsRemaining--;
						}

						if (appraisalsRemaining == 2)
						{
							await Methodical(tag);
						}

						if (appraisalsRemaining == 1)
						{
							await UtmostDiscerningMethodical(tag);
						}

						await IncreaseChance(tag);
						return true;
					}
				}

				await Impulsive(tag);
				await Impulsive(tag);
				await Methodical(tag);

				return true;
			}

			return true;
		}
开发者ID:MGramolini,项目名称:ExBuddy,代码行数:62,代码来源:Collect550GatheringRotation.cs


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