Advertisement
fabionsam

NPC 300~400 arch

Mar 6th, 2011
647
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 6.38 KB | None | 0 0
  1.         case 6: // NPC Arch RED, Blue ,White e sem capa
  2.         {
  3.             if(cFace == 1 || cFace == 21 || cFace == 31 || cFace == 11)
  4.             {
  5.             if (cElmo == 0)
  6.             {
  7.             int level = 299;
  8.             int dif;
  9.             dif = cLevel - level;
  10.             if(cMedalha == 1742)
  11.                 {
  12.             if (cLevel >= 299)
  13.             {
  14.                     if ((cJoia <= 1759) || (cJoia >= 1764))
  15.                     {
  16.                         SendChat(npcid, "Ponha o Sephirot da classe desejada.");
  17.                         return;
  18.                     }
  19.                     else if((cJoia == 1760) && (cCapa == 544))
  20.                     {
  21.                         PInt(addr_bclient + FACE_ADDR) += 5;
  22.                         PInt(addr_bclient + CLASS_ADDR) = 0;
  23.                         PInt(addr_bclient + 0x015C6A8C) = 1771;
  24.                     }
  25.                     else if((cJoia == 1761) && (cCapa == 544))
  26.                     {
  27.                         PInt(addr_bclient + FACE_ADDR) += 6;
  28.                         PInt(addr_bclient + CLASS_ADDR) = 1;
  29.                         PInt(addr_bclient + 0x015C6A8C) = 1771;
  30.                     }
  31.                     else if((cJoia == 1762) && (cCapa == 544))
  32.                     {
  33.                         PInt(addr_bclient + FACE_ADDR) += 7;
  34.                         PInt(addr_bclient + CLASS_ADDR) = 2;
  35.                         PInt(addr_bclient + 0x015C6A8C) = 1771;
  36.                     }
  37.                     else if((cJoia == 1763) && (cCapa == 544))
  38.                     {
  39.                         PInt(addr_bclient + FACE_ADDR) += 8;
  40.                         PInt(addr_bclient + CLASS_ADDR) = 3;
  41.                         PInt(addr_bclient + 0x015C6A8C) = 1771;
  42.                     }else if((cJoia == 1760) && (cCapa == 543))
  43.                     {
  44.                         PInt(addr_bclient + FACE_ADDR) += 5;
  45.                         PInt(addr_bclient + CLASS_ADDR) = 0;
  46.                         PInt(addr_bclient + 0x015C6A8C) = 1768;
  47.                     }
  48.                     else if((cJoia == 1761) && (cCapa == 543))
  49.                     {
  50.                         PInt(addr_bclient + FACE_ADDR) += 6;
  51.                         PInt(addr_bclient + CLASS_ADDR) = 1;
  52.                         PInt(addr_bclient + 0x015C6A8C) = 1768;
  53.                     }
  54.                     else if((cJoia == 1762) && (cCapa == 543))
  55.                     {
  56.                         PInt(addr_bclient + FACE_ADDR) += 7;
  57.                         PInt(addr_bclient + CLASS_ADDR) = 2;
  58.                         PInt(addr_bclient + 0x015C6A8C) = 1768;
  59.                     }
  60.                     else if((cJoia == 1763) && (cCapa == 543))
  61.                     {
  62.                         PInt(addr_bclient + FACE_ADDR) += 8;
  63.                         PInt(addr_bclient + CLASS_ADDR) = 3;
  64.                         PInt(addr_bclient + 0x015C6A8C) = 1768;
  65.                     }else if(cJoia == 1760)
  66.                     {
  67.                         PInt(addr_bclient + FACE_ADDR) += 5;
  68.                         PInt(addr_bclient + CLASS_ADDR) = 0;
  69.                         PInt(addr_bclient + 0x015C6A8C) = 574;
  70.                     }
  71.                     else if(cJoia == 1761)
  72.                     {
  73.                         PInt(addr_bclient + FACE_ADDR) += 6;
  74.                         PInt(addr_bclient + CLASS_ADDR) = 1;
  75.                         PInt(addr_bclient + 0x015C6A8C) = 574;
  76.                     }
  77.                     else if(cJoia == 1762)
  78.                     {
  79.                         PInt(addr_bclient + FACE_ADDR) += 7;
  80.                         PInt(addr_bclient + CLASS_ADDR) = 2;
  81.                         PInt(addr_bclient + 0x015C6A8C) = 574;
  82.                     }
  83.                     else if(cJoia == 1763)
  84.                     {
  85.                         PInt(addr_bclient + FACE_ADDR) += 8;
  86.                         PInt(addr_bclient + CLASS_ADDR) = 3;
  87.                         PInt(addr_bclient + 0x015C6A8C) = 574;
  88.                     }else
  89.                     {
  90.                         SendChat(npcid, "Precisa ter capa Red,Bluw, White ou nenhuma.");
  91.                         return;
  92.                     }
  93.  
  94.                     PInt(addr_bclient + EXTRA1_ADDR) = 0;
  95.                     PInt(addr_bclient + EXTRA2_ADDR) = 0;
  96.                     PInt(addr_bclient + EXTRA3_ADDR) = 0;
  97.                     PInt(addr_bclient + EXTRA4_ADDR) = 0;
  98.                     PInt(addr_bclient + LEVEL_ADDR) = 0;
  99.                     PInt(addr_bclient + PLEARN_ADDR) = 100;
  100.                     PInt(addr_bclient + PSKILL_ADDR) = 127;
  101.                     PLong(addr_bclient + EXP_ADDR) = 0;
  102.                     PInt(addr_bclient + STR_ADDR) = 5;
  103.                     PInt(addr_bclient + INT_ADDR) = 5;
  104.                     PInt(addr_bclient + DES_ADDR) = 5;
  105.                     PInt(addr_bclient + CON_ADDR) = 10;
  106.                     PInt(addr_bclient + PSTATS_ADDR) = 100;
  107.                     PInt(addr_bclient + LSKILL_ADDR) = 0; // Zera Skills
  108.                     PInt(addr_bclient + 0x015C6A6C) = 0; // Zera Item no Slot do Sephirot
  109.                     PInt(addr_bclient + 0x015C6A64) = 0; // Zera Item no Slot da Irmotalidade
  110.                     PInt(addr_bclient + 0x015C6A1C) = 3501; // PƵe a cythera
  111.                     PInt(addr_bclient + 0x015C6A1C +2) = 3;
  112.                     PInt(addr_bclient + 0x015C6A1C +3) = 40;
  113.                     PInt(addr_bclient + 0x015C6A1C +4) = 4;
  114.                     PInt(addr_bclient + 0x015C6A1C +5) = 50;
  115.                     PInt(addr_bclient + PLEARN_ADDR) += 3 * dif;
  116.                     PInt(addr_bclient + PSKILL_ADDR) += 3 * dif;
  117.                     PInt(addr_bclient + PSTATS_ADDR) += 3 * dif;
  118.                     SendItens(clientid, 0x15C6A14, 0);
  119.                     SendItens(clientid, 0x15C6A1C, 1);
  120.                     SendItens(clientid, 0x15C6A8C, 15);
  121.                     SendClientMessage(clientid, "Arch criado com sucesso !!!");
  122.                     DC(clientid);
  123.                     return;
  124.                 }else
  125.                 {SendChat(npcid, "Level inapropriado!");
  126.                 return;
  127.                 }
  128.             }else
  129.             SendChat(npcid, "Cade a imortalidade?");
  130.             return;
  131.                 }else
  132.                 SendChat(npcid, "Tire seu elmo");
  133.                 return;
  134.                 }else
  135.                 SendChat(npcid, "Voce nao e mais mortal!");
  136.                 return;
  137.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement