Advertisement
iradap

Rozwiązywanie grp

Jul 25th, 2018
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. (function(_p) {
  2. let Drop = false;
  3. parseInput = function(a, b, c) {
  4. _p(a, b, c);
  5. if (a.loot && !Drop) {
  6. Drop = true;
  7. } else if (!a.loot && Drop) {
  8. if (g.party) {
  9. if (g.party[hero.id].r == 1) {
  10. _g(`party&a=disband`);
  11. Drop = false;
  12. } else {
  13. _g(`party&a=rm&id=${hero.id}`);
  14. Drop = false;
  15. }
  16. } else {
  17. Drop = false;
  18. }
  19. }
  20. }
  21. })(parseInput)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement