Unknown Buddy
Member
- Joined
- May 20, 2015
- Messages
- 603
- Reaction score
- 17
The only example i see of this in OldRoutine is:
Where is it getting the return for HasRighteousFireBuff? I am simply looking for a way to check if my character has VaalHasteBuff on. I was hoping it would be as simple as:
But its not that simple! HALP! Please
Code:
if (_rfSlot != -1)
{
// See if we can use the skill.
var skill = LokiPoe.InGameState.SkillBarPanel.Slot(_rfSlot);
if (skill.CanUse() && !LokiPoe.Me.[COLOR="#FF0000"]HasRighteousFireBuff[/COLOR])
{
var err1 = LokiPoe.InGameState.SkillBarPanel.Use(_rfSlot, true);
if (err1 == LokiPoe.InGameState.UseError.None)
{
await Coroutine.Sleep(Utility.LatencySafeValue(250));
await Coroutines.FinishCurrentAction(false);
await Coroutine.Sleep(Utility.LatencySafeValue(50));
return true;
}
Log.ErrorFormat("[Logic] Use returned {0} for {1}.", err1, skill.Name);
}
}
Where is it getting the return for HasRighteousFireBuff? I am simply looking for a way to check if my character has VaalHasteBuff on. I was hoping it would be as simple as:
Code:
if (skill.CanUse() && LokiPoe.Me.[COLOR="#FF0000"]HasVaalHasteBuff[/COLOR])
But its not that simple! HALP! Please






