Advertisement
Nolifeq

automatyczne rozdawanie umek

Sep 15th, 2021
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. // ==UserScript==
  2. // @name automatyczne rozdawanie umek
  3. // @version 1.0
  4. // @author baczek
  5. // @match *://*.margonem.pl/
  6. // @exclude https://www.margonem.pl/
  7. // @grant none
  8. // ==/UserScript==
  9.  
  10. /*
  11. ROZDAJE UMKI:
  12.  
  13. trop-zrecznosc
  14. low-zrecznposc
  15. pal-sila
  16. woj-sila
  17. mag-intel
  18. tanc-sila
  19. */
  20. const um = () => {
  21. if (window.$("#newlvl").css("display") === "block"){
  22. if(hero.prof=="b" || hero.prof=="w" || hero.prof=="p"){
  23. _g("useab&a=str&cnt=1")
  24. }
  25. if(hero.prof=="h" || hero.prof == "t"){
  26. _g("useab&a=agi&cnt=1")
  27. }
  28. if(hero.prof=="m"){
  29. _g("useab&a=int&cnt=1")
  30. }
  31.  
  32. }
  33.  
  34. }
  35. const _try = parseInput;
  36. parseInput = (a, b, c) => {
  37. um()
  38. _try(a,b,c)
  39. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement