Unknown Buddy
Member
- Joined
- May 20, 2015
- Messages
- 603
- Reaction score
- 17
Trying to improve the AutoCastVaalSkills for my own builds. The default logic just has the Vaal skill fire immediately when its available.
I am wanting to have it use the skill only on bosses, which was easy enough with:
The only issue with this is Tormented Spirits are classified as Rarity.Unique.
I have tried adding things like
but it just crashes EB.
Clearly i am just messing up the syntax, but ive tried several different variations. Hopefully someone can help me out.
These var's are able to be used.
I am wanting to have it use the skill only on bosses, which was easy enough with:
Code:
if (OldRoutineSettings.Instance.AutoCastVaalSkills && _vaalStopwatch.ElapsedMilliseconds > 1000 [COLOR="#00FF00"]&& cachedRarity >= Rarity.Unique[/COLOR])
The only issue with this is Tormented Spirits are classified as Rarity.Unique.
I have tried adding things like
Code:
cachedName != "Tormented Spirit"
Clearly i am just messing up the syntax, but ive tried several different variations. Hopefully someone can help me out.
Code:
var cachedPosition = bestTarget.Position;
var targetPosition = bestTarget.ModelCenterWorld;
var cachedId = bestTarget.Id;
var cachedName = bestTarget.Name;
var cachedRarity = bestTarget.Rarity;
These var's are able to be used.






