mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-01 08:27:46 +00:00
Some aoe work
This commit is contained in:
parent
293c281eba
commit
49486f5d02
3 changed files with 3 additions and 9 deletions
|
@ -1872,8 +1872,8 @@ namespace Sapphire::Common
|
|||
{
|
||||
SingleTarget = 1,
|
||||
CircularAOE = 2,
|
||||
Type3 = 3, // another single target? no idea how to call it
|
||||
RectangularAOE = 4,
|
||||
RectangularAOE = 3,
|
||||
ConeAOE = 4,
|
||||
CircularAoEPlaced = 7
|
||||
};
|
||||
|
||||
|
|
|
@ -193,6 +193,7 @@ namespace Sapphire::World::Action
|
|||
uint8_t m_cooldownGroup{};
|
||||
int8_t m_range{};
|
||||
uint8_t m_effectRange{};
|
||||
uint8_t m_effectWidth{};
|
||||
uint8_t m_xAxisModifier{};
|
||||
Common::ActionAspect m_aspect;
|
||||
Common::CastType m_castType;
|
||||
|
|
|
@ -71,13 +71,6 @@ void ActionMgr::handleTargetedPlayerAction( Entity::Player& player, uint32_t act
|
|||
if( !action->init() )
|
||||
return;
|
||||
|
||||
// cancel any aoe actions casted with this packet
|
||||
if( actionData->data().EffectRange )
|
||||
{
|
||||
action->interrupt();
|
||||
return;
|
||||
}
|
||||
|
||||
bootstrapAction( player, action, actionData );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue