mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-06-16 12:27:45 +00:00
revert slot incr;
This commit is contained in:
parent
d5022516f5
commit
0838ca3eb0
1 changed files with 1 additions and 1 deletions
|
@ -544,7 +544,7 @@ void Sapphire::Entity::Chara::addStatusEffect( StatusEffect::StatusEffectPtr pEf
|
||||||
status.Source = pEffect->getSrcActorId();
|
status.Source = pEffect->getSrcActorId();
|
||||||
status.Time = static_cast< float >( pEffect->getDuration() ) / 1000;
|
status.Time = static_cast< float >( pEffect->getDuration() ) / 1000;
|
||||||
status.Id = static_cast< uint16_t >( pEffect->getId() );
|
status.Id = static_cast< uint16_t >( pEffect->getId() );
|
||||||
status.Slot = static_cast< uint8_t >( nextSlot + 1 );
|
status.Slot = static_cast< uint8_t >( nextSlot );
|
||||||
status.SystemParam = static_cast< int16_t >( pEffect->getParam() );
|
status.SystemParam = static_cast< int16_t >( pEffect->getParam() );
|
||||||
|
|
||||||
sendToInRangeSet( statusEffectAdd, isPlayer() );
|
sendToInRangeSet( statusEffectAdd, isPlayer() );
|
||||||
|
|
Loading…
Add table
Reference in a new issue