diff --git a/src/world/Action/EffectBuilder.cpp b/src/world/Action/EffectBuilder.cpp index 485ce35c..64af6932 100644 --- a/src/world/Action/EffectBuilder.cpp +++ b/src/world/Action/EffectBuilder.cpp @@ -86,12 +86,9 @@ void EffectBuilder::comboSucceed( Entity::CharaPtr& target ) void EffectBuilder::applyStatusEffect( Entity::CharaPtr& target, uint16_t statusId, uint8_t param ) { - auto resultList = getResultList( target ); - assert( resultList ); - EffectResultPtr nextResult = make_EffectResult( target, 0 ); nextResult->applyStatusEffect( statusId, param ); - resultList->push_back( std::move( nextResult ) ); + moveToResultList( target, nextResult ); } void EffectBuilder::buildAndSendPackets()