Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Elmo15(int clientid)
- {
- MOB *player = (MOB*)GetMobFromIndex(clientid);
- int itenslot = GetFirstSlot(clientid,3151,0,0,0,0,0,0,64);
- if(player->Equip[1].Index && player->Equip[1].EF1 == 43 && player->Equip[1].EFV1 == 0 && player->Equip[1].EFV1 <= 8)
- {
- SendClientMsg(clientid,"Somente itens +9 podem ser Refinados.");
- SendALL(clientid);
- return;
- }
- if(player->Equip[1].Index && player->Equip[1].EF1 == 43 && player->Equip[1].EFV1 == 9)
- {
- SendClientMsg(clientid, "Seu Elmo foi Refinada para +15");
- player->Equip[1].EF1 = 43;
- player->Equip[1].EFV1 = 250;
- player->Inventory[itenslot].Index = 0;
- SaveChar(1,clientid);
- SendEffect(3,14,clientid);
- SendItens(clientid,1);
- SendEquip(clientid);
- SendALL(clientid);
- return;
- }
- else
- {
- SendClientMsg(clientid,"Você não possui Elmo.");
- SendALL(clientid);
- }
- return;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement