本文整理汇总了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;
}
示例2:
int IGetOverridePriority.GetOverridePriority(ExGatherTag tag)
{
if (tag.IsEphemeral() || tag.IsUnspoiled() || tag.CollectableItem != null)
{
return -1;
}
return 8000;
}
示例3:
int IGetOverridePriority.GetOverridePriority(ExGatherTag tag)
{
if (tag.IsEphemeral() || tag.IsUnspoiled())
{
return -1;
}
return 8000;
}
示例4: ResolveInternalGatheringRotation
protected virtual IGatheringRotation ResolveInternalGatheringRotation(ExGatherTag tag)
{
if (tag.IsUnspoiled())
{
return ExGatherTag.Rotations["Unspoiled"];
}
return ExGatherTag.Rotations["RegularNode"];
}
示例5:
int IGetOverridePriority.GetOverridePriority(ExGatherTag tag)
{
if (tag.IsUnspoiled() && tag.CollectableItem == null)
{
return 8000;
}
return -1;
}
示例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);
}
示例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;
}
示例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;
}
示例9: ShouldForceGather
public override bool ShouldForceGather(ExGatherTag tag)
{
return !tag.IsEphemeral() && !tag.IsUnspoiled();
}
示例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;
}