Advertisement
Guest User

Untitled

a guest
May 20th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. var Ivona = {
  2. fight: fight,
  3. fightC: function(fight) {
  4. if (isset(fight.move)) {
  5. if (fight.move == 14) {
  6. Object.keys(g.battle.f).forEach(key => {
  7. if (g.battle.f[key].name != hero.nick && hero.hp > 2 && g.battle.f[key].team != g.battle.f[hero.id].team) {
  8. console.log(g.battle.f[key]);
  9. }
  10. });
  11. };
  12. }
  13. }
  14. }
  15.  
  16. fight = function(fight) {
  17. Ivona.fight(fight);
  18. Ivona.fightC(fight);
  19. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement