[Bots/Mercs] Add 100% Hit chance if sitting while attacked. (#2839)

* [BOT] Add 100% Hit chance if sitting while attacked.

* [BOT] Add 100% Hit chance if sitting while attacked.

* Add Mercs correctly

* Missed usage of IsSitting() in Mob::RollD20
This commit is contained in:
Aeadoin authored and GitHub committed 2023-02-06 22:30:33 -05:00
1 parent 158396937a
commit b0d1dc5f04
7 files changed
+15 -9

No files matched your search

+1 -1
View File
@@ -571,7 +571,7 @@ void Bot::Stand() {
SetAppearance(eaStanding);
}
bool Bot::IsSitting() {
bool Bot::IsSitting() const {
bool result = false;
if(GetAppearance() == eaSitting && !IsMoving())
result = true;