add bot checks to tryheadshot / tryassassinate

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