Jump to content

Recommended Posts

i have this part i don't know if it's right

PythonPlayerSkill.cpp

Spoiler

bool CPythonPlayer::__HasEnoughArrow()
{
    CItemData * pItemData;
    if (CItemManager::Instance().GetItemDataPointer(GetItemIndex(TItemPos(INVENTORY, c_Equipment_Arrow)), &pItemData))
    if (CItemData::ITEM_TYPE_WEAPON == pItemData->GetType())
    if (CItemData::WEAPON_ARROW == pItemData->GetSubType())
    {
        return true;
    }
 
#ifdef ENABLE_QUIVER_SYSTEM
    if (CItemData::WEAPON_QUIVER == pItemData->GetSubType())
    {
        return true;
    }
#endif
 
    PyCallClassMemberFunc(m_ppyGameWindow, "OnCannotShotError", Py_BuildValue("(is)", GetMainCharacterIndex(), "EMPTY_ARROW"));
    return false;
}

and this on playersettingmodule.py

Spoiler

if app.ENABLE_QUIVER_SYSTEM:
        effect.RegisterIndexedFlyData(effect.FLY_QUIVER_ATTACK_NORMAL, effect.INDEX_FLY_TYPE_NORMAL, "d:/ymir work/pc/assassin/effect/arrow_02.msf")

 

Link to comment
https://metin2.dev/topic/10063-chelp-complete-unlimited-arrow-effect/
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.