mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 06:47:45 +00:00
Include Common::ActionResultFlag::EffectOnSource on source status effects
This commit is contained in:
parent
09db0ee7d2
commit
f1cd218e85
2 changed files with 1 additions and 1 deletions
|
@ -87,6 +87,7 @@ void ActionResult::applyStatusEffectSelf( uint32_t id, int32_t duration, uint8_t
|
|||
m_result.Value = static_cast< int16_t >( id );
|
||||
m_result.Arg2 = param;
|
||||
m_result.Type = Common::ActionEffectType::CALC_RESULT_TYPE_SET_STATUS_ME;
|
||||
m_result.Flag = static_cast< uint8_t >( Common::ActionResultFlag::EffectOnSource );
|
||||
|
||||
m_bOverrideStatus = shouldOverride;
|
||||
m_pStatus = StatusEffect::make_StatusEffect( id, m_target, m_target, duration, 3000 );
|
||||
|
|
|
@ -95,7 +95,6 @@ void ActionResultBuilder::applyStatusEffectSelf( uint16_t statusId, uint32_t dur
|
|||
addResultToActor( m_sourceChara, nextResult );
|
||||
}
|
||||
|
||||
|
||||
void ActionResultBuilder::mount( Entity::CharaPtr& target, uint16_t mountId )
|
||||
{
|
||||
ActionResultPtr nextResult = make_ActionResult( target, 0 );
|
||||
|
|
Loading…
Add table
Reference in a new issue