Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case 6: // NPC Arch RED, Blue ,White e sem capa
- {
- if(cFace == 1 || cFace == 21 || cFace == 31 || cFace == 11)
- {
- if (cElmo == 0)
- {
- int level = 299;
- int dif;
- dif = cLevel - level;
- if(cMedalha == 1742)
- {
- if (cLevel >= 299)
- {
- if ((cJoia <= 1759) || (cJoia >= 1764))
- {
- SendChat(npcid, "Ponha o Sephirot da classe desejada.");
- return;
- }
- else if((cJoia == 1760) && (cCapa == 544))
- {
- PInt(addr_bclient + FACE_ADDR) += 5;
- PInt(addr_bclient + CLASS_ADDR) = 0;
- PInt(addr_bclient + 0x015C6A8C) = 1771;
- }
- else if((cJoia == 1761) && (cCapa == 544))
- {
- PInt(addr_bclient + FACE_ADDR) += 6;
- PInt(addr_bclient + CLASS_ADDR) = 1;
- PInt(addr_bclient + 0x015C6A8C) = 1771;
- }
- else if((cJoia == 1762) && (cCapa == 544))
- {
- PInt(addr_bclient + FACE_ADDR) += 7;
- PInt(addr_bclient + CLASS_ADDR) = 2;
- PInt(addr_bclient + 0x015C6A8C) = 1771;
- }
- else if((cJoia == 1763) && (cCapa == 544))
- {
- PInt(addr_bclient + FACE_ADDR) += 8;
- PInt(addr_bclient + CLASS_ADDR) = 3;
- PInt(addr_bclient + 0x015C6A8C) = 1771;
- }else if((cJoia == 1760) && (cCapa == 543))
- {
- PInt(addr_bclient + FACE_ADDR) += 5;
- PInt(addr_bclient + CLASS_ADDR) = 0;
- PInt(addr_bclient + 0x015C6A8C) = 1768;
- }
- else if((cJoia == 1761) && (cCapa == 543))
- {
- PInt(addr_bclient + FACE_ADDR) += 6;
- PInt(addr_bclient + CLASS_ADDR) = 1;
- PInt(addr_bclient + 0x015C6A8C) = 1768;
- }
- else if((cJoia == 1762) && (cCapa == 543))
- {
- PInt(addr_bclient + FACE_ADDR) += 7;
- PInt(addr_bclient + CLASS_ADDR) = 2;
- PInt(addr_bclient + 0x015C6A8C) = 1768;
- }
- else if((cJoia == 1763) && (cCapa == 543))
- {
- PInt(addr_bclient + FACE_ADDR) += 8;
- PInt(addr_bclient + CLASS_ADDR) = 3;
- PInt(addr_bclient + 0x015C6A8C) = 1768;
- }else if(cJoia == 1760)
- {
- PInt(addr_bclient + FACE_ADDR) += 5;
- PInt(addr_bclient + CLASS_ADDR) = 0;
- PInt(addr_bclient + 0x015C6A8C) = 574;
- }
- else if(cJoia == 1761)
- {
- PInt(addr_bclient + FACE_ADDR) += 6;
- PInt(addr_bclient + CLASS_ADDR) = 1;
- PInt(addr_bclient + 0x015C6A8C) = 574;
- }
- else if(cJoia == 1762)
- {
- PInt(addr_bclient + FACE_ADDR) += 7;
- PInt(addr_bclient + CLASS_ADDR) = 2;
- PInt(addr_bclient + 0x015C6A8C) = 574;
- }
- else if(cJoia == 1763)
- {
- PInt(addr_bclient + FACE_ADDR) += 8;
- PInt(addr_bclient + CLASS_ADDR) = 3;
- PInt(addr_bclient + 0x015C6A8C) = 574;
- }else
- {
- SendChat(npcid, "Precisa ter capa Red,Bluw, White ou nenhuma.");
- return;
- }
- PInt(addr_bclient + EXTRA1_ADDR) = 0;
- PInt(addr_bclient + EXTRA2_ADDR) = 0;
- PInt(addr_bclient + EXTRA3_ADDR) = 0;
- PInt(addr_bclient + EXTRA4_ADDR) = 0;
- PInt(addr_bclient + LEVEL_ADDR) = 0;
- PInt(addr_bclient + PLEARN_ADDR) = 100;
- PInt(addr_bclient + PSKILL_ADDR) = 127;
- PLong(addr_bclient + EXP_ADDR) = 0;
- PInt(addr_bclient + STR_ADDR) = 5;
- PInt(addr_bclient + INT_ADDR) = 5;
- PInt(addr_bclient + DES_ADDR) = 5;
- PInt(addr_bclient + CON_ADDR) = 10;
- PInt(addr_bclient + PSTATS_ADDR) = 100;
- PInt(addr_bclient + LSKILL_ADDR) = 0; // Zera Skills
- PInt(addr_bclient + 0x015C6A6C) = 0; // Zera Item no Slot do Sephirot
- PInt(addr_bclient + 0x015C6A64) = 0; // Zera Item no Slot da Irmotalidade
- PInt(addr_bclient + 0x015C6A1C) = 3501; // PƵe a cythera
- PInt(addr_bclient + 0x015C6A1C +2) = 3;
- PInt(addr_bclient + 0x015C6A1C +3) = 40;
- PInt(addr_bclient + 0x015C6A1C +4) = 4;
- PInt(addr_bclient + 0x015C6A1C +5) = 50;
- PInt(addr_bclient + PLEARN_ADDR) += 3 * dif;
- PInt(addr_bclient + PSKILL_ADDR) += 3 * dif;
- PInt(addr_bclient + PSTATS_ADDR) += 3 * dif;
- SendItens(clientid, 0x15C6A14, 0);
- SendItens(clientid, 0x15C6A1C, 1);
- SendItens(clientid, 0x15C6A8C, 15);
- SendClientMessage(clientid, "Arch criado com sucesso !!!");
- DC(clientid);
- return;
- }else
- {SendChat(npcid, "Level inapropriado!");
- return;
- }
- }else
- SendChat(npcid, "Cade a imortalidade?");
- return;
- }else
- SendChat(npcid, "Tire seu elmo");
- return;
- }else
- SendChat(npcid, "Voce nao e mais mortal!");
- return;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement