Created
January 28, 2018 23:13
-
-
Save CodySwannGT/91c8acc31af2170b0b6d15907bf1e834 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setInterval(() => { | |
try { | |
var bi = FF.ns.battle.BattleInfo.getInstance(); | |
bi.getEnemyParams = function() { | |
window.alert(JSON.stringify(bi._enemies)); | |
return bi._enemies.map(enemy => Object.assign(enemy, { | |
initHp: 1, | |
maxHp: 1, | |
params: enemy.params.map(param => Object.assign(param, { | |
atk: 1, | |
mdef: 1, | |
lv: 1, | |
acc: 1 | |
def: 1, | |
eva: 1, | |
exp: 1, | |
spd: 1, | |
maxHp: 1, | |
dispName: "Gunner Technology", | |
mnd: 1 | |
})) | |
})); | |
} | |
} catch(e) { | |
window.alert(JSON.stringify(e)); | |
}; | |
}, 1000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment