Jump to content

Ryen

Inactive Member
  • Posts

    89
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Posts posted by Ryen

  1. 3 hours ago, xP3NG3Rx said:

    Seems syntax error.

    But what's the problem?

    If you unequip the new weapon, the effect will not removed?

    Yeah bro.,...

     

    3 hours ago, Sirio said:

    Try this

     

    if (pItem->GetSubType() == CItemData::WEAPON_SWORD)
            {
                DWORD vnum = pItem->GetIndex();

                if (vnum == 60299)
                {
                    __ClearWeaponRefineEffect();
                    m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_REFINED7 + refine - 7;
                    m_swordRefineEffectRight = EFFECT_REFINED +  EFFECT_SWORD_REFINED_SPECIAL1; //effect 24 sword effect
                }
            }

    and probe that ... and not work

  2. Hi guys im have one peoble...

     

    im add a new efect from my new seet weapons but this happens to me:

    ac01235e74.jpg

    50bf2330cc.jpg

    CODE

    Instancebase.cpp

        case CItemData::ITEM_TYPE_WEAPON:
            __ClearWeaponRefineEffect();
            //Agregas Nuevos Efectos
            if (pItem->GetSubType() == CItemData::WEAPON_SWORD)
            {
                DWORD vnum = pItem->GetIndex();

                if (vnum == 60299)
                {
                    __AttachEffect(EFFECT_REFINED + EFFECT_SWORD_REFINED_SPECIAL1); //effect 24 sword effect
                }
            }

     

    InstanceBase.h

     

                EFFECT_BODYARMOR_SPECIAL,    // °©¿Ê 4-2-1
                EFFECT_BODYARMOR_SPECIAL2,    // °©¿Ê 4-2-2
                EFFECT_ACCE_SPECIAL,

                EFFECT_SWORD_REFINED_SPECIAL1 = 23, // effect new


                EFFECT_REFINED_NUM,

     

     

    playersettingmodule.py

     

        chrmgr.RegisterEffect(chrmgr.EFFECT_REFINED+23, "PART_WEAPON", "D:/ymir work/pc/common/effect/sword/revo_espada_s.mse")
     

    any ideas?

     

    Regards

×
×
  • 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.