mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-15 20:52:22 -04:00
*Do not let Steady shot pause autoshot timer.
--HG-- branch : trunk
This commit is contained in:
@@ -283,7 +283,8 @@ void Unit::Update( uint32 p_time )
|
||||
}
|
||||
}
|
||||
|
||||
if(!hasUnitState(UNIT_STAT_CASTING))
|
||||
//not implemented before 3.0.2
|
||||
//if(!hasUnitState(UNIT_STAT_CASTING))
|
||||
{
|
||||
if(uint32 base_att = getAttackTimer(BASE_ATTACK))
|
||||
setAttackTimer(BASE_ATTACK, (p_time >= base_att ? 0 : base_att - p_time) );
|
||||
|
||||
Reference in New Issue
Block a user