1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-25 22:17:45 +00:00

cleanup cost subtraction code, won't be done inside action object

This commit is contained in:
NotAdam 2019-02-09 23:16:35 +11:00
parent 089712dd9d
commit 44a797db71
2 changed files with 0 additions and 23 deletions

View file

@ -47,28 +47,6 @@ uint32_t Sapphire::Action::Action::getId() const
return m_id;
}
void Sapphire::Action::Action::subtractCostFromCaster()
{
if( !m_pSource->isPlayer() )
return;
auto player = m_pSource->getAsPlayer();
switch( m_costType )
{
case Common::ActionCostType::MagicPoints:
{
break;
}
case Common::ActionCostType::TacticsPoints:
{
break;
}
}
}
void Sapphire::Action::Action::setPos( Sapphire::Common::FFXIVARR_POSITION3 pos )
{
m_pos = pos;

View file

@ -86,7 +86,6 @@ namespace Sapphire::Action
void calculateActionCost();
void calculateMPCost( uint8_t costArrayIndex );
void subtractCostFromCaster();
/*!
* @brief Some actions are capable of both healing and dealing damage. This identifies them.