Ir para conteúdo
View in the app

A better way to browse. Learn more.

priston.pro

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Bug ao Descartar Poções

Postado

Galera eu estou com um Bug de quando vou descartar poções se tiver com pItem->Flag = 0 ativo as poções zeram antes mesmo da confirmação da BOX. Ai quando comenta ele e coloca pMessageItem = pItem; as poções fica grudado no cursor e consigo descartar, porém não é certo ficar assim pq o modo original é com pItem->Flag = 0. Alguém tem alguma ideia de como deixar usando pItem->Flag = 0 e as poções sairem do cursor e esperar no inventório a confirmação da BOX e descartar somente o que digitou no chão ?

cMessageBox.ShowMessage2(MESSAGE_THROW_ITEM);

pItem->Flag = 0; //¸¶¿ì½º ¾ÆÀÌÅÛ ÃʱâÈ­ <<<<<<<<<<<<<<<< MODO ORIGINAL DE LIMPAR O CURSOR, PORÉM SOME TUDO AS POÇÕES ANTES DA CONFIRMAÇÃO

pMessageItem = pItem; <<<<<<< ISSO EU ADICIONEI PORÉM NÃO É ORIGINAL ASSIM, PQ FICA GRUDADO NO CURSOR AS POÇÕES COM ELE ATIVO.

pMessageItem->Flag = 1; //¾ÆÀÌÅÛÀ» ÁýÀ»¶§ ÀúÀåÇØµ×´ø Æ÷ÀÎÅÍ·Î Ç÷¢À» »ì¸°´Ù

sInven[pMessageItem->ItemPosition - 1].ItemIndex = BackUpItemIndex;

CheckOverlapItem(pMessageItem, BackUpItemIndex);

ReSettingPotion(); //Æ÷¼Ç°ø°£ üũ

CheckWeight(); //¹«°Ô º¸Á¤

ReFormPotionNum(); //Æ÷¼Ç°¹¼ö º¸Á¤

if (pMessageItem->ItemPosition)

sInven[pMessageItem->ItemPosition - 1].ItemIndex = PotionIndex;

return TRUE;

OBS: Minha Source é PKDosCria Base Elemental Frozen Etc...

Editado por Xandão Dev

Featured Replies

No posts to show

Participe da Conversa

Você pode postar agora e se cadastrar mais tarde. Cadastre-se Agora para publicar com Sua Conta.

Visitante
Responder

Account

Navigation

Pesquisar

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.