mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-25 11:07:45 +00:00
Actually use the correct packet
This commit is contained in:
parent
aae20d0d46
commit
e62c2ce6c1
2 changed files with 8 additions and 8 deletions
|
@ -82,14 +82,6 @@ private:
|
||||||
//m_data.unknown_61 = 7;
|
//m_data.unknown_61 = 7;
|
||||||
|
|
||||||
|
|
||||||
for( auto const& effect : pPlayer->getStatusEffectContainer()->getEffectMap() )
|
|
||||||
{
|
|
||||||
m_data.effect[effect.first].effect_id = effect.second->getId();
|
|
||||||
m_data.effect[effect.first].duration = effect.second->getDuration();
|
|
||||||
m_data.effect[effect.first].sourceActorId = effect.second->getSrcActorId();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -93,6 +93,14 @@ namespace Server {
|
||||||
//m_data.unknown_60 = 3;
|
//m_data.unknown_60 = 3;
|
||||||
//m_data.unknown_61 = 7;
|
//m_data.unknown_61 = 7;
|
||||||
|
|
||||||
|
for( auto const& effect : pPlayer->getStatusEffectContainer()->getEffectMap() )
|
||||||
|
{
|
||||||
|
m_data.effect[effect.first].effect_id = effect.second->getId();
|
||||||
|
m_data.effect[effect.first].duration = effect.second->getDuration();
|
||||||
|
m_data.effect[effect.first].sourceActorId = effect.second->getSrcActorId();
|
||||||
|
m_data.effect[effect.first].unknown1 = effect.second->getParam();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue