mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-05 02:07:46 +00:00
fix CastType 3
This commit is contained in:
parent
5503e73352
commit
6576d3314d
2 changed files with 2 additions and 2 deletions
|
@ -1084,7 +1084,7 @@ namespace Sapphire::Common
|
||||||
{
|
{
|
||||||
SingleTarget = 1,
|
SingleTarget = 1,
|
||||||
CircularAOE = 2,
|
CircularAOE = 2,
|
||||||
Type3 = 3, // another single target? no idea how to call it
|
ConeAOE = 3,
|
||||||
RectangularAOE = 4,
|
RectangularAOE = 4,
|
||||||
CircularAoEPlaced = 7
|
CircularAoEPlaced = 7
|
||||||
};
|
};
|
||||||
|
|
|
@ -1124,7 +1124,6 @@ void Action::Action::addDefaultActorFilters()
|
||||||
switch( m_castType )
|
switch( m_castType )
|
||||||
{
|
{
|
||||||
case Common::CastType::SingleTarget:
|
case Common::CastType::SingleTarget:
|
||||||
case Common::CastType::Type3:
|
|
||||||
{
|
{
|
||||||
auto filter = std::make_shared< World::Util::ActorFilterSingleTarget >( static_cast< uint32_t >( m_targetId ) );
|
auto filter = std::make_shared< World::Util::ActorFilterSingleTarget >( static_cast< uint32_t >( m_targetId ) );
|
||||||
|
|
||||||
|
@ -1134,6 +1133,7 @@ void Action::Action::addDefaultActorFilters()
|
||||||
}
|
}
|
||||||
|
|
||||||
case Common::CastType::CircularAOE:
|
case Common::CastType::CircularAOE:
|
||||||
|
case Common::CastType::ConeAOE:
|
||||||
{
|
{
|
||||||
auto filter = std::make_shared< World::Util::ActorFilterInRange >( m_pos, m_effectRange );
|
auto filter = std::make_shared< World::Util::ActorFilterInRange >( m_pos, m_effectRange );
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue