1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-28 04:17:44 +00:00

Merge branch 'action_data_update_pr' into develop_c

This commit is contained in:
collett 2020-01-14 20:27:53 +09:00
commit d04b7a3519
2 changed files with 1 additions and 1 deletions

View file

@ -44,6 +44,7 @@ Sapphire::Entity::Chara::Chara( ObjKind type, FrameworkPtr pFw ) :
m_lastTickTime = 0;
m_lastUpdate = 0;
m_lastAttack = Util::getTimeMs();
m_bonusStats.fill( 0 );

View file

@ -306,7 +306,6 @@ void Sapphire::Entity::Player::calculateStats()
void Sapphire::Entity::Player::setAutoattack( bool mode )
{
m_bAutoattack = mode;
m_lastAttack = Util::getTimeMs();
}
bool Sapphire::Entity::Player::isAutoattackOn() const