1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-07-11 14:57:46 +00:00
This commit is contained in:
collett 2020-01-06 17:57:53 +09:00
parent 3e9ad1fc3e
commit a69becdde9

View file

@ -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()