Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix info abt license, also add quick kit. #33

Merged
merged 1 commit into from
May 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cheatGUI/dist/bundle.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions cheatGUI/src/hacks/pets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { TODO } from "../../../typings/util"; // Import Prodigy Util typings


// Begin Get All Pets
new Hack(category.pets, "Get All Pets").setClick(async () => {
new Hack (category.pets, "Get All Pets").setClick(async () => {


if (!(await Confirm.fire("Would you like to add all pets to your pets?")).value) {
Expand Down Expand Up @@ -51,7 +51,7 @@ new Hack(category.pets, "Get All Pets").setClick(async () => {


// Begin Get ALl Legacy Epics
new Hack(category.pets, "Get All Legacy Epics").setClick(async () => {
new Hack (category.pets, "Get All Legacy Epics").setClick(async () => {


if (!(await Confirm.fire("Would you like to add all legacy epics to your team?")).value) {
Expand All @@ -76,7 +76,7 @@ new Hack(category.pets, "Get All Legacy Epics").setClick(async () => {


// Begin Get All Mythical Epics
new Hack(category.pets, "Get All Mythical Epics").setClick(async () => {
new Hack (category.pets, "Get All Mythical Epics").setClick(async () => {

if (!(await Confirm.fire("Would you like to add all mythical epics to your pets?")).value) {
console.log("Cancelled");
Expand Down Expand Up @@ -104,7 +104,7 @@ new Hack(category.pets, "Get All Mythical Epics").setClick(async () => {


// Begin Clear Pets
new Hack(category.pets, "Clear Pets").setClick(async () => {
new Hack (category.pets, "Clear Pets").setClick(async () => {

if (!(await Confirm.fire("Would you like to delete all of your pets?")).value) {
console.log("Cancelled");
Expand All @@ -121,7 +121,7 @@ new Hack(category.pets, "Clear Pets").setClick(async () => {


// Begin Add Pet
new Hack(category.pets, "Add Pet", "Adds a pet from a list.").setClick(async () => {
new Hack (category.pets, "Add Pet", "Adds a pet from a list.").setClick(async () => {
const pet = await Swal.fire({
input: "select",
inputOptions: new Map(_.gameData.pet.map(x => [x.ID.toString(), `${x.ID}: ${x.data.name}`])),
Expand All @@ -145,7 +145,7 @@ new Hack(category.pets, "Add Pet", "Adds a pet from a list.").setClick(async ()


// Begin Uncap pet level
new Hack(category.pets, "Uncap pet level [Client Side]", "Change your pet's level to anything, even over 100. This hack won't save when you reload Prodigy.").setClick(async () => {
new Hack (category.pets, "Uncap pet level [Client Side]", "Change your pet's level to anything, even over 100. This hack won't save when you reload Prodigy.").setClick(async () => {
const petTeam = _.player.kennel.petTeam.slice(0);
petTeam.shift();
const names = petTeam.map(pet => pet.getName());
Expand Down
38 changes: 34 additions & 4 deletions cheatGUI/src/utils/keybinds.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,44 @@
import { _ } from "../utils/util"; // Import Prodigy typings
import { Confirm, Toast } from "../utils/swal"; // Import Swal, Toast, Confirm, Input, and NumberInput from swal



window.addEventListener("keydown", event => {

// Close All Popups
if (event.code === "KeyX") {
_.instance.prodigy.open.menuCloseAll();



switch (event.code) {

case "KeyX":
// Close All Popups
_.instance.prodigy.open.menuCloseAll();
break;

case "KeyK":
// Gets you kitted up in Celestial Gear
const k = async () => {



if (!(
await Confirm.fire("Kit", "Would you like to equip Celestial Gear?")
).value) {
return console.log("Cancelled");;
}

_.player.equipment.setHat(200);
_.player.equipment.setBoots(93);
_.player.equipment.setOutfit(161);
_.player.equipment.setWeapon(196);

_.player.appearanceChanged = true;

Toast.fire("Success!", "You are now wearing Celestial Armor and wielding a Dual Blade.", "success");
};
k();
break;
}
// Close All Popups



Expand Down