//DISCLAIMER: If you do not feal comfortable pasting this code into the console of your browser, I'm not trying to make you. It is understandable if you are worried about bad effects this JS code could have. /********************************************************* Based on my "pwnigy" API. Check out pwnigy here at: https://pastebin.com/c1wJxZ6U *********************************************************/ //Don't touch anything below this line unless you have decent Javascript and PIXI knowledge. //begin api var PixiAPI = Phaser.PIXI; var pwnigy = { setGold : function(a) { PixiAPI.game.prodigy.player.data.gold = a; }, addGold: function(a) { PixiAPI.game.prodigy.player.data.gold = Phaser.PIXI.game.prodigy.player.data.gold + a; }, setLevel: function(a) { PixiAPI.game.prodigy.player.data.level = a; }, heal: function() { PixiAPI.game.prodigy.player.heal(); }, silentLvlUp: function() { PixiAPI.game.prodigy.player.data.level = Phaser.PIXI.game.prodigy.player.data.level + 1; }, setTowerFloor: function(a) { PixiAPI.game.prodigy.player.data.tower = a; }, fakeMember: function() { PixiAPI.game.prodigy.player.isMember = true; } } //end api //start main code //PixiAPI.game.prodigy.player.isMember = false; /* display exploit controls popup */ document.getElementById("modals").innerHTML = '