mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-07-11 14:57:46 +00:00
fix
This commit is contained in:
parent
3e9ad1fc3e
commit
a69becdde9
1 changed files with 1 additions and 4 deletions
|
@ -86,12 +86,9 @@ void EffectBuilder::comboSucceed( Entity::CharaPtr& target )
|
||||||
|
|
||||||
void EffectBuilder::applyStatusEffect( Entity::CharaPtr& target, uint16_t statusId, uint8_t param )
|
void EffectBuilder::applyStatusEffect( Entity::CharaPtr& target, uint16_t statusId, uint8_t param )
|
||||||
{
|
{
|
||||||
auto resultList = getResultList( target );
|
|
||||||
assert( resultList );
|
|
||||||
|
|
||||||
EffectResultPtr nextResult = make_EffectResult( target, 0 );
|
EffectResultPtr nextResult = make_EffectResult( target, 0 );
|
||||||
nextResult->applyStatusEffect( statusId, param );
|
nextResult->applyStatusEffect( statusId, param );
|
||||||
resultList->push_back( std::move( nextResult ) );
|
moveToResultList( target, nextResult );
|
||||||
}
|
}
|
||||||
|
|
||||||
void EffectBuilder::buildAndSendPackets()
|
void EffectBuilder::buildAndSendPackets()
|
||||||
|
|
Loading…
Add table
Reference in a new issue