Jump to content

Problem by eliminating bonus stoles


Recommended Posts

Hello , excuse my English .
I have a problem with stoles object ID is 85009 which is supposed to eliminate the bonus , but does not execute the function .

case USE_DETACHMENT:
                        {
                            LPITEM item2;
                            if (!IsValidItemPosition(DestCell) || !(item2 = GetItem(DestCell)))
                                return false;
                            if (item2->IsExchanging() || item2->IsEquipped())
                                return false;
                            if (item2->GetVnum() >= 28330 && item2->GetVnum() <= 28343)
                            {
                                ChatPacket(CHAT_TYPE_INFO, LC_TEXT("+3 영석은 이 아이템으로 개량할 수 없습니다"));
                                return false;
                            }
                            if (item->GetValue(0) == ACCE_CLEAN_ATTR)
                            {
                                CleanAcceAttr(item, item2);
                            }
                            else{
                                ChatPacket(CHAT_TYPE_INFO, LC_TEXT("No es"));
                            }
                            if (item2->GetVnum() >= 28430 && item2->GetVnum() <= 28443)
                            {
                                if (item->GetVnum() == 71056)
                                {
                                    RefineItem(item, item2);
                                }
                                else
                                {
                                    ChatPacket(CHAT_TYPE_INFO, LC_TEXT("영석은 이 아이템으로 개량할 수 없습니다"));
                                }
                            }
                            else
                            {
                                RefineItem(item, item2);
                            }
                        }
                        break;

 
agregge 2 posts to see if you run the function

if (item->GetValue(0) == ACCE_CLEAN_ATTR)
                            {
                                ChatPacket(CHAT_TYPE_INFO, LC_TEXT("entrer"));
                                CleanAcceAttr(item, item2);
                                ChatPacket(CHAT_TYPE_INFO, LC_TEXT("salida"));
                            }else{
                                ChatPacket(CHAT_TYPE_INFO, LC_TEXT("no vnum"));
                            }

but does not exit or enter the mesnaje in or out, and if the right type and I checked assistance : c

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



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