Guest User

Untitled

a guest
Jul 17th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. void PointPlace(BYTE *m_PacketBuffer,int clientid)
  2. {
  3. MOB *player = (MOB*)GetMobFromIndex(clientid);
  4. p277* p = (p277*)m_PacketBuffer;
  5. int num = rand() % 5;
  6.  
  7. }
  8. switch(p->Info)
  9. {
  10. STR
  11. case 00:
  12. break;
  13. INT
  14. case 01:
  15. break;
  16. DEX
  17. case 02:
  18. if(num == 1)
  19. {
  20. player->bStatus.Attack += 0;
  21. return;
  22. }
  23. else if(num == 2)
  24. {
  25. player->bStatus.Attack += 0;
  26. return;
  27. }
  28. else if(num == 3)
  29. {
  30. player->bStatus.Attack += 0;
  31. return;
  32. }
  33. else if(num == 4)
  34. {
  35. player->bStatus.Attack += 1;
  36. return;
  37. }
  38. break;
  39. CON
  40. case 03:
  41. break;
  42.  
  43. }
Add Comment
Please, Sign In to add comment