mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
*Do not let Steady shot pause autoshot timer.
--HG-- branch : trunk
This commit is contained in:
@@ -1048,10 +1048,9 @@ void Player::Update( uint32 p_time )
|
||||
}
|
||||
}
|
||||
|
||||
if (hasUnitState(UNIT_STAT_MELEE_ATTACKING))
|
||||
if (hasUnitState(UNIT_STAT_MELEE_ATTACKING) && !hasUnitState(UNIT_STAT_CASTING))
|
||||
{
|
||||
Unit *pVictim = getVictim();
|
||||
if( !IsNonMeleeSpellCasted(false) && pVictim)
|
||||
if(Unit *pVictim = getVictim())
|
||||
{
|
||||
// default combat reach 10
|
||||
// TODO add weapon,skill check
|
||||
|
||||
Reference in New Issue
Block a user