Advertisement
DoromaAnim

Untitled

Dec 30th, 2019
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. #pragma region Skrypt jedznie w walce
  2.  
  3. function xd()
  4. {
  5. if (combatData.player.hitpoints <= skillLevel[CONSTANTS.skill.Hitpoints] - items[equippedFood[currentCombatFood].itemID].healsFor)
  6. {
  7. console.log("JEM")
  8. eatFood();
  9. }
  10. }
  11.  
  12. setInterval(xd, 2000)
  13.  
  14. #pragma endregion
  15.  
  16. function xdd()
  17. {
  18. if (rockData[3].depleted == true)
  19. {
  20. if(currentRock != 6)
  21. {
  22. mineRock(6, true)
  23. }
  24. }
  25. else if(currentRock != 3)
  26. {
  27. mineRock(3, true)
  28. }
  29.  
  30. }
  31.  
  32. setInterval(xdd, 50)
  33.  
  34. function xdd()
  35. {
  36. if (rockData[6].depleted == true)
  37. {
  38. if(currentRock != 3)
  39. {
  40. mineRock(3, true)
  41. }
  42. }
  43. else if(currentRock != 6)
  44. {
  45. mineRock(6, true)
  46. }
  47.  
  48. }
  49. setInterval(xdd, 50)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement