Advertisement
Guest User

Untitled

a guest
Aug 19th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. //Perzen N
  2. case 9:
  3. {
  4. if(cSlot1 == 4128) // Item a ser entregue
  5. {
  6. PInt(addr_bclient + 0x015C6A94) = 3986; // Item que receberá
  7. PInt(addr_bclient + 0x015C6A94 +2) = 0; // Codigo do primeiro add ( Ex.: 2 = dano )
  8. PInt(addr_bclient + 0x015C6A94 +3) = 0; // Valor do primeiro add ( Foi colocado 2 em cima, entao ficaria 45 dano ! )
  9. PInt(addr_bclient + 0x015C6A94 +4) = 0; // Codigo do segundo add ( Ex.: 3 = defesa )
  10. PInt(addr_bclient + 0x015C6A94 +5) = 0; // Valor do segundo add ( Foi colocado 3 em cima, entao ficaria 35 defesa ! )
  11. PInt(addr_bclient + 0x015C6A94 +6) = 0; // Código do terceiro add ( Ex.: 43 = refinação )
  12. PInt(addr_bclient + 0x015C6A94 +7) = 0; // Valor do terceiro add ( Foi colocado 43 em cima, entao o item ficaria +9 ! )
  13. SendClientMessage(clientid, "Troca efetuada com sucesso");
  14. int i ;
  15. for(i = 0; i < 2 ;i++)
  16. {
  17. SendInv(clientid,1,i,addrSlotI(clientid,1));
  18. }
  19. SendInv(clientid,1,0,addrSlotI(clientid,0));
  20. return;
  21. }
  22. SendChat(npcid, "Traga-me a Esfera da sorte N");
  23. return;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement