if (_auraSlot == -1 && ((tags.Contains("aura") && !tags.Contains("vaal")) || IsAuraName(name)))
{
_auraSlot = skill.Slot;
}
if (_auraSlot == -1 && (tags.Contains("aura") || IsAuraName(name)))
{
_auraSlot = skill.Slot;
}
if ((skill.SkillTags.Contains("aura") && !skill.SkillTags.Contains("vaal")) || IsAuraName(skill.Name))
if (skill.SkillTags.Contains("aura") || IsAuraName(skill.Name))
if (cachedRarity >= Rarity.Rare && myPos.Distance(cachedPosition) < 70)
{
Log.InfoFormat("[WIMM rareclose checking VAAL");
var skill = LokiPoe.InGameState.SkillBarPanel.Slot(8);
if (skill.CanUse())
{
Log.InfoFormat("[WIMM] rareclose CanUse VAAL");
var err1val = LokiPoe.InGameState.SkillBarPanel.Use(8, true);
if (err1val == LokiPoe.InGameState.UseError.None)
{
await Coroutine.Sleep(Utility.LatencySafeValue(500));
await Coroutines.FinishCurrentAction(false);
await Coroutine.Sleep(Utility.LatencySafeValue(100));
Log.InfoFormat("[WIMM] rareclose Using VAAL");
return true;
}
Log.ErrorFormat("[WIMM] rareclose but vaal code failed! Use returned {0} for {1}", err1val, skill.Name);
}
}
ty push.it works now.
should be better if cast vaal gem when there are rare monster nearby.
why the log keep spamming
[CanCast] We cannot cast [Vaal Haste] because CurrentSouls < SoulsPerUse?
did the EB keep pressing the vaal gem slot's key?