Jump to content

Xerneas

Inactive Member
  • Posts

    84
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Xerneas

  1. Good evening,

     

    after i solved my first Problem, i have a second:

    I cant equip for example one Ring and a mount or two different rings.

    If i do this i will get " You cant equip this twice" ( Sorry for my Bad english.)

    I hope you can help me .. :x

     

    My actual function:

    if (item->GetWearFlag() & WEARABLE_UNIQUE)
        {
            if ((GetWear(WEAR_UNIQUE1) && GetWear(WEAR_UNIQUE1)->IsSameSpecialGroup(item)) ||
                (GetWear(WEAR_UNIQUE2) && GetWear(WEAR_UNIQUE2)->IsSameSpecialGroup(item)) ||
                (GetWear(WEAR_RING1) && GetWear(WEAR_RING1)->IsSameSpecialGroup(item)) ||
                (GetWear(WEAR_RING2) && GetWear(WEAR_RING2)->IsSameSpecialGroup(item)))
            {
                ChatPacket(CHAT_TYPE_INFO, LC_TEXT("°°Àº Á¾·ùÀÇ À¯´ÏÅ© ¾ÆÀÌÅÛ µÎ °³¸¦ µ¿½Ã¿¡ ÀåÂøÇÒ ¼ö ¾ø½À´Ï´Ù."));
                return false;
            }
            
            if (marriage::CManager::instance().IsMarriageUniqueItem(item->GetVnum()) &&
                !marriage::CManager::instance().IsMarried(GetPlayerID()))
            {
                ChatPacket(CHAT_TYPE_INFO, LC_TEXT("°áÈ¥ÇÏÁö ¾ÊÀº »óÅ¿¡¼­ ¿¹¹°À» Âø¿ëÇÒ ¼ö ¾ø½À´Ï´Ù."));
                return false;
            }

        }


    this blocks two different Rings... ye, thats ok, but i why i cant equip two different Rings?

     

  2. Don´t work!

     

     

    Spoiler

    Group Ringe_Bonus
    {
        Vnum    10050
        type    special
        1    71135    100000    1 --Halbmondring
        2    71136    100001    1 --Lolli
        3    71143    100002    1 --Ring der Freude
        4    71148    100003    1 --Ring der Willenskraft
        5    71149    100004    1 --Ring der tödlichen Macht
        6    71145    100005    1 --Amulett der Ewigen Liebe
        7    71158    100006    1 --Heldenmedaille
    }
    Group Halbmondring
    {
        Vnum    100000
        type    ATTR
        1    66    50 --50% Exp Bonus
        2    63    30 --30% Start gegen Monster
        3    1    2000 --2k TP
        effect    "d:\ymir work\effect\etc\buff\buff_item1.mse"

    }

     

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