Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void CompIdeal(int clientid, int npcid)
- {
- MOB *player = (MOB*)GetMobFromIndex(clientid);
- int itenslot1 = GetFirstSlotSADD(clientid,5334,64);
- int itenslot2 = GetFirstSlotSADD(clientid,5335,64);
- int itenslot3 = GetFirstSlotSADD(clientid,5336,64);
- int itenslot4 = GetFirstSlotSADD(clientid,5337,64);
- if(player->Equip[10].Index == 1742)
- {
- if(player->Equip[11].Index >= 1760 && player->Equip[11].Index <= 1763)
- {
- if(itenslot1 != -1 && itenslot2 != -1 && itenslot3 != -1 && itenslot4 != -1)
- {
- player->Inventory[itenslot1].Index = 5338;
- player->Inventory[itenslot2].Index = 0;
- player->Inventory[itenslot3].Index = 0;
- player->Inventory[itenslot4].Index = 0;
- player->Equip[11].Index = 0;
- player->Equip[10].Index = 0;
- SendALL(clientid);
- SendItens(clientid,10);
- SendItens(clientid,11);
- SendSay(npcid,"Que os Deuses iluminem você.");
- return;
- }
- else
- {
- SendSay(npcid,"Você precisa das quatro Pedras Secretas.");
- }
- }
- else
- {
- SendSay(npcid,"Você não possui sephirot.");
- }
- }
- else
- {
- SendSay(npcid,"Você não possui a Pedra da Imortalidade.");
- }
- return;
- }
Add Comment
Please, Sign In to add comment