Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var Ivona = {
- fight: fight,
- fightC: function(fight) {
- if (isset(fight.move)) {
- if (fight.move == 14) {
- Object.keys(g.battle.f).forEach(key => {
- if (g.battle.f[key].name != hero.nick && hero.hp > 2 && g.battle.f[key].team != g.battle.f[hero.id].team) {
- console.log(g.battle.f[key]);
- }
- });
- };
- }
- }
- }
- fight = function(fight) {
- Ivona.fight(fight);
- Ivona.fightC(fight);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement