1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-27 14:57:44 +00:00

Add SET_STATUS_ME to ActionIntegrity

This commit is contained in:
Lucy 2023-03-12 20:05:34 +01:00
parent fb65f728a7
commit a92076b42d

View file

@ -49,7 +49,7 @@ void ActionIntegrityTask::execute()
int statusIdx = 0;
for( auto& actionResult : m_results )
{
if( actionResult->getCalcResultParam().Type == Common::CALC_RESULT_TYPE_SET_STATUS )
if( actionResult->getCalcResultParam().Type == Common::CALC_RESULT_TYPE_SET_STATUS || actionResult->getCalcResultParam().Type == Common::CALC_RESULT_TYPE_SET_STATUS_ME )
{
auto& status = data.Status[ statusIdx++ ];
auto pEffect = actionResult->getStatusEffect();