add bot checks to tryheadshot / tryassassinate

This commit is contained in:
nytmyr
2024-12-12 22:07:54 -06:00
parent 94717ee459
commit 5457d14d85
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -6446,6 +6446,7 @@ void Mob::CommonOutgoingHitSuccess(Mob* defender, DamageHitInfo &hit, ExtraAttac
}
else {
int ass = TryAssassinate(defender, hit.skill);
if (ass > 0) {
hit.damage_done = ass;
}