mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-25 11:07:45 +00:00
Update ItemAction.cpp
This commit is contained in:
parent
d8e5bbf720
commit
92532bdddc
1 changed files with 2 additions and 9 deletions
|
@ -57,7 +57,7 @@ void ItemAction::execute()
|
|||
|
||||
case Common::ItemActionType::ItemActionOrchestrion:
|
||||
{
|
||||
handleOrchestrionItem();
|
||||
//handleOrchestrionItem();
|
||||
|
||||
break;
|
||||
}
|
||||
|
@ -76,13 +76,6 @@ void ItemAction::handleMountItem()
|
|||
player->dropInventoryItem ( static_cast< Common::InventoryType >( m_itemSourceContainer ), m_itemSourceSlot, false );
|
||||
}
|
||||
|
||||
void ItemAction::handleOrchestrionItem()
|
||||
{
|
||||
auto player = getSourceChara()->getAsPlayer();
|
||||
player->learnSong( m_itemAction->data[ 0 ], m_itemAction->data[ 1 ] );
|
||||
player->dropInventoryItem ( static_cast< Common::InventoryType >( m_itemSourceContainer ), m_itemSourceSlot, false );
|
||||
}
|
||||
|
||||
void ItemAction::handleVFXItem()
|
||||
{
|
||||
Common::EffectEntry effect{};
|
||||
|
|
Loading…
Add table
Reference in a new issue