1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-05 18:27:47 +00:00
This commit is contained in:
collett 2020-01-08 17:32:15 +09:00
parent ccc81ed90a
commit e72d5d224d
2 changed files with 6 additions and 6 deletions

View file

@ -699,8 +699,8 @@ void Sapphire::Entity::BNpc::autoAttack( CharaPtr pTarget )
Common::EffectEntry effectEntry{}; Common::EffectEntry effectEntry{};
effectEntry.value = static_cast< int16_t >( damage.first ); effectEntry.value = static_cast< int16_t >( damage.first );
effectEntry.effectType = ActionEffectType::Damage; effectEntry.effectType = ActionEffectType::Damage;
effectEntry.hitSeverity = damage.second; effectEntry.param0 = static_cast< uint8_t >( damage.second );
effectEntry.param = 0x71; effectEntry.param2 = 0x71;
effectPacket->addEffect( effectEntry ); effectPacket->addEffect( effectEntry );
sendToInRangeSet( effectPacket ); sendToInRangeSet( effectPacket );

View file

@ -1587,8 +1587,8 @@ void Sapphire::Entity::Player::autoAttack( CharaPtr pTarget )
Common::EffectEntry entry{}; Common::EffectEntry entry{};
entry.value = damage.first; entry.value = damage.first;
entry.effectType = Common::ActionEffectType::Damage; entry.effectType = Common::ActionEffectType::Damage;
entry.hitSeverity = damage.second; entry.param0 = static_cast< uint8_t >( damage.second );
entry.param = 0x72; entry.param2 = 0x72;
effectPacket->addEffect( entry ); effectPacket->addEffect( entry );
@ -1602,8 +1602,8 @@ void Sapphire::Entity::Player::autoAttack( CharaPtr pTarget )
Common::EffectEntry entry{}; Common::EffectEntry entry{};
entry.value = damage.first; entry.value = damage.first;
entry.effectType = Common::ActionEffectType::Damage; entry.effectType = Common::ActionEffectType::Damage;
entry.hitSeverity = damage.second; entry.param0 = static_cast< uint8_t >( damage.second );
entry.param = 0x73; entry.param2 = 0x73;
effectPacket->addEffect( entry ); effectPacket->addEffect( entry );