CheckIncreaseSkill() from Client::ThrowingAttack() to DoThrowingAttackDmg() so it gets called during combat abilities(zerker volley), as well as regular throws(monk ranged).

This commit is contained in:
kentai 2020-02-20 14:23:06 +11:00
parent be38a62d70
commit 6ddc5ea8e8

View File

@ -1408,6 +1408,9 @@ void Mob::DoThrowingAttackDmg(Mob *other, const EQEmu::ItemInstance *RangeWeapon
else
TrySkillProc(other, EQEmu::skills::SkillThrowing, 0, false, EQEmu::invslot::slotRange);
}
if (IsClient()) {
CastToClient()->CheckIncreaseSkill(EQEmu::skills::SkillThrowing, GetTarget());
}
}
void Mob::SendItemAnimation(Mob *to, const EQEmu::ItemData *item, EQEmu::skills::SkillType skillInUse, float velocity) {