[Cleanup] Fix skill_used being used as boolean in Mob::CommonDamage() (#3220)

# Notes
- This is unnecessary as we always have a skill value.
This commit is contained in:
Alex King
2023-04-05 11:03:28 -04:00
committed by GitHub
parent f2d07e5c69
commit 8c97c20727
+1 -3
View File
@@ -3884,9 +3884,7 @@ void Mob::CommonDamage(Mob* attacker, int64 &damage, const uint16 spell_id, cons
damage = ReduceAllDamage(damage);
TryTriggerThreshHold(damage, SE_TriggerMeleeThreshold, attacker);
if (skill_used)
CheckNumHitsRemaining(NumHit::IncomingHitSuccess);
CheckNumHitsRemaining(NumHit::IncomingHitSuccess);
}
else {
int64 origdmg = damage;