mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-23 11:32:24 +00:00
[Cleanup] Remove unnecessary skill_to_use check in Bot::DoClassAttacks() (#3236)
# Notes - `skill_to_use` will never be `-1` as it passes through the switch and checks class.
This commit is contained in:
parent
26eabcd7a4
commit
7090382074
@ -5198,9 +5198,6 @@ void Bot::DoClassAttacks(Mob *target, bool IsRiposte) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (skill_to_use == -1)
|
||||
return;
|
||||
|
||||
int64 dmg = GetBaseSkillDamage(static_cast<EQ::skills::SkillType>(skill_to_use), GetTarget());
|
||||
|
||||
if (skill_to_use == EQ::skills::SkillBash) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user