mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 13:41:31 +00:00
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:
parent
be38a62d70
commit
6ddc5ea8e8
@ -1408,6 +1408,9 @@ void Mob::DoThrowingAttackDmg(Mob *other, const EQEmu::ItemInstance *RangeWeapon
|
|||||||
else
|
else
|
||||||
TrySkillProc(other, EQEmu::skills::SkillThrowing, 0, false, EQEmu::invslot::slotRange);
|
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) {
|
void Mob::SendItemAnimation(Mob *to, const EQEmu::ItemData *item, EQEmu::skills::SkillType skillInUse, float velocity) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user