Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void PointPlace(BYTE *m_PacketBuffer,int clientid)
- {
- MOB *player = (MOB*)GetMobFromIndex(clientid);
- p277* p = (p277*)m_PacketBuffer;
- int num = rand() % 5;
- }
- switch(p->Info)
- {
- STR
- case 00:
- break;
- INT
- case 01:
- break;
- DEX
- case 02:
- if(num == 1)
- {
- player->bStatus.Attack += 0;
- return;
- }
- else if(num == 2)
- {
- player->bStatus.Attack += 0;
- return;
- }
- else if(num == 3)
- {
- player->bStatus.Attack += 0;
- return;
- }
- else if(num == 4)
- {
- player->bStatus.Attack += 1;
- return;
- }
- break;
- CON
- case 03:
- break;
- }
Add Comment
Please, Sign In to add comment