1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-06-15 20:07:46 +00:00

revert slot incr;

This commit is contained in:
Alice Ogeda 2023-02-13 16:29:06 -03:00
parent d5022516f5
commit 0838ca3eb0

View file

@ -544,7 +544,7 @@ void Sapphire::Entity::Chara::addStatusEffect( StatusEffect::StatusEffectPtr pEf
status.Source = pEffect->getSrcActorId();
status.Time = static_cast< float >( pEffect->getDuration() ) / 1000;
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() );
sendToInRangeSet( statusEffectAdd, isPlayer() );