Jump to content

[Full]New Pet System Official


Luffy
 Share

Recommended Posts

TUDO PACK + CLIENT SOURCE

 

UPDATE 1

aberto

cmd_gm.cpp

procurando

 

 

 

ACMD(do_item_purge)

 

substituir por

 

ACMD(do_item_purge)

{

#ifdef NEW_PET_SYSTEM

#include "New_PetSystem.h"

if (ch->GetNewPetSystem()->IsActivePet())

{

ch->ChatPacket(CHAT_TYPE_INFO, "A fost hranit petu. ");

return ;

}

#endif

int i;

LPITEM item;

 

for (i = 0; i < INVENTORY_AND_EQUIP_SLOT_MAX; ++i)

{

if ((item = ch->GetInventoryItem(i)))

{

ITEM_MANAGER::instance().RemoveItem(item, "PURGE");

ch->SyncQuickslot(QUICKSLOT_TYPE_ITEM, i, 255);

}

}

 

for (i = 0; i < DRAGON_SOUL_INVENTORY_MAX_NUM; ++i)

{

if ((item = ch->GetItem(TItemPos(DRAGON_SOUL_INVENTORY, i ))))

{

ITEM_MANAGER::instance().RemoveItem(item, "PURGE");

}

}

}

 

E para aqueles que tê-lo substituído com 200 slot de

Iar pentru cei ce au 200 slot inlocuiti cu acesta

 

ACMD(do_item_purge)

{

#ifdef NEW_PET_SYSTEM

#include "New_PetSystem.h"

if (ch->GetNewPetSystem()->IsActivePet())

{

ch->ChatPacket(CHAT_TYPE_INFO, "A fost hranit petu. ");

return ;

}

#endif

int i;

LPITEM item;

 

for (i = 0; i < INVENTORY_AND_EQUIP_SLOT_MAX; ++i)

{

if ((item = ch->GetInventoryItem(i)))

{

ITEM_MANAGER::instance().RemoveItem(item, "PURGE");

ch->SyncQuickslot(QUICKSLOT_TYPE_ITEM, i, 200);

}

}

 

for (i = 0; i < DRAGON_SOUL_INVENTORY_MAX_NUM; ++i)

{

if ((item = ch->GetItem(TItemPos(DRAGON_SOUL_INVENTORY, i ))))

{

ITEM_MANAGER::instance().RemoveItem(item, "PURGE");

}

}

}

 

Item desc RO

Hidden Content

    Give reaction to this post to see the hidden content.

Hidden Content

    Give reaction to this post to see the hidden content.

image.prntscr.com/image/3106b850cbf44d479d59e310565fabfd.png

Download:

Hidden Content

    Give reaction to this post to see the hidden content.

Hidden Content

    Give reaction to this post to see the hidden content.

Hidden Content

    Give reaction to this post to see the hidden content.

 

Fonte:FG Quem Posto: VoLtZzZ

Topico: Luffy

Desculpe a tradução foi feita pelo google tradutor

Espero ter ajudado

  • Like 8
  • Thanks 3
Link to comment
Share on other sites

  • 1 year later...
  • 1 year later...
  • 6 months later...
  • 7 months later...
  • 2 months later...
  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...