Aevitas
Well-Known Member
- Joined
- Mar 2, 2010
- Messages
- 2,307
We used to check the specific spells (didn't have to be active spells, we'd find passive ones too) to detect some disciplines that couldn't be read properly by using their nodes. It looked something like this:
For advanced classes, the bot always read it properly from the game itself. If that has changed, I'll need to implement some additional code to handle cases where the bot doesn't manage to read them properly before we release.
Also, how do you guys propose we get these updates on GitHub? I could do it, but I can imagine you'd want at least credit for your work. Let me know.
Code:
if (HasAbility("Death Field") && advancedClass == AdvancedClass.Sorcerer)
{
discipline = CharacterDiscipline.Madness;
return true;
}
if (HasAbility("Death Field") && advancedClass == AdvancedClass.Assassin)
{
discipline = CharacterDiscipline.Hatred;
return true;
}
For advanced classes, the bot always read it properly from the game itself. If that has changed, I'll need to implement some additional code to handle cases where the bot doesn't manage to read them properly before we release.
Also, how do you guys propose we get these updates on GitHub? I could do it, but I can imagine you'd want at least credit for your work. Let me know.
