I thought the code wasn't working but I think the pet showed up after I hatch an egg. You can try and see if it works.
Code: Select all
if (0 == t.actor.getValue("ActorEvents_1332", "_Scored")) {
if (n = b.engine, a = b.engine.getGameAttribute("DailyRun") + 1, n = n.gameAttributes, null != e.DailyRun ? n.setReserved("DailyRun", a) : n.h.DailyRun = a, 3 == b.engine.getGameAttribute("DailyRun")) {
n = b.engine, a = b.engine.getGameAttribute("sparklecoin");
var r = b.engine.getGameAttribute("DailyRunsScores")[1];
r = null == r ? 0 : "number" == typeof r ? c.__cast(r, h) : "number" == typeof r && (0 | r) === r ? c.__cast(r, k) : "boolean" == typeof r ? c.__cast(r, m) ? 1 : 0 : "string" == typeof r ? parseFloat(r) : parseFloat(g.string(r));
var i = b.engine.getGameAttribute("DailyRunsScores")[2];
i = null == i ? 0 : "number" == typeof i ? c.__cast(i, h) : "number" == typeof i && (0 | i) === i ? c.__cast(i, k) : "boolean" == typeof i ? c.__cast(i, m) ? 1 : 0 : "string" == typeof i ? parseFloat(i) : parseFloat(g.string(i));
var l = b.engine.getGameAttribute("DailyRunsScores")[3];
r = Math.max(Math.round(Math.pow(Math.max(0, 2 * (r + i + (null == l ? 0 : "number" == typeof l ? c.__cast(l, h) : "number" == typeof l && (0 | l) === l ? c.__cast(l, k) : "boolean" == typeof l ? c.__cast(l, m) ? 1 : 0 : "string" == typeof l ? parseFloat(l) : parseFloat(g.string(l)))) - 1), .9) - 5), 0), i = null == (i = b.engine.getGameAttribute("TankBonusLIST")[54]) ? 0 : "number" == typeof i ? c.__cast(i, h) : "number" == typeof i && (0 | i) === i ? c.__cast(i, k) : "boolean" == typeof i ? c.__cast(i, m) ? 1 : 0 : "string" == typeof i ? parseFloat(i) : parseFloat(g.string(i)), l = null == (l = b.engine.getGameAttribute("CardLevels")[178]) ? 0 : "number" == typeof l ? c.__cast(l, h) : "number" == typeof l && (0 | l) === l ? c.__cast(l, k) : "boolean" == typeof l ? c.__cast(l, m) ? 1 : 0 : "string" == typeof l ? parseFloat(l) : parseFloat(g.string(l)), n = n.gameAttributes, a += Math.round(Math.min(r, Math.min(24 + i + 2 * l, 45))), null != e.sparklecoin ? n.setReserved("sparklecoin", a) : n.h.sparklecoin = a, a = null == (a = b.engine.getGameAttribute("DailyRunsScores")[1]) ? 0 : "number" == typeof a ? c.__cast(a, h) : "number" == typeof a && (0 | a) === a ? c.__cast(a, k) : "boolean" == typeof a ? c.__cast(a, m) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(g.string(a)), n = null == (n = b.engine.getGameAttribute("DailyRunsScores")[2]) ? 0 : "number" == typeof n ? c.__cast(n, h) : "number" == typeof n && (0 | n) === n ? c.__cast(n, k) : "boolean" == typeof n ? c.__cast(n, m) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(g.string(n)), r = b.engine.getGameAttribute("DailyRunsScores")[3], 24.5 <= Math.max(Math.round(Math.pow(2 * (a + n + (null == r ? 0 : "number" == typeof r ? c.__cast(r, h) : "number" == typeof r && (0 | r) === r ? c.__cast(r, k) : "boolean" == typeof r ? c.__cast(r, m) ? 1 : 0 : "string" == typeof r ? parseFloat(r) : parseFloat(g.string(r)))) - 1, .9) - 5), 0) && (0 == (null == (a = b.engine.getGameAttribute("MasteryTasksComplete")[59]) ? 0 : "number" == typeof a ? c.__cast(a, h) : "number" == typeof a && (0 | a) === a ? c.__cast(a, k) : "boolean" == typeof a ? c.__cast(a, m) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(g.string(a))) && (b.engine.getGameAttribute("MasteryTasksComplete")[59] = 1, n = b.engine, a = b.engine.getGameAttribute("MasteryPointsOwned") + 3, n = n.gameAttributes, null != e.MasteryPointsOwned ? n.setReserved("MasteryPointsOwned", a) : n.h.MasteryPointsOwned = a)), 65 < (a = null == (a = b.engine.getGameAttribute("DailyRunsScores")[1]) ? 0 : "number" == typeof a ? c.__cast(a, h) : "number" == typeof a && (0 | a) === a ? c.__cast(a, k) : "boolean" == typeof a ? c.__cast(a, m) ? 1 : 0 : "string" == typeof a ? parseFloat(a) : parseFloat(g.string(a))) + (n = null == (n = b.engine.getGameAttribute("DailyRunsScores")[2]) ? 0 : "number" == typeof n ? c.__cast(n, h) : "number" == typeof n && (0 | n) === n ? c.__cast(n, k) : "boolean" == typeof n ? c.__cast(n, m) ? 1 : 0 : "string" == typeof n ? parseFloat(n) : parseFloat(g.string(n))) + (null == (r = b.engine.getGameAttribute("DailyRunsScores")[3]) ? 0 : "number" == typeof r ? c.__cast(r, h) : "number" == typeof r && (0 | r) === r ? c.__cast(r, k) : "boolean" == typeof r ? c.__cast(r, m) ? 1 : 0 : "string" == typeof r ? parseFloat(r) : parseFloat(g.string(r))) && !ae.contains(b.engine.getGameAttribute("PetsOwned"), "basketball") && (a = b.engine.gameAttributes, null != e.contractLightingID ? a.setReserved("contractLightingID", 7) : a.h.contractLightingID = 7, p.createRecycledActor(p.getActorType(934), 588, 96, 0), a = b.engine.gameAttributes, null != e.RaidDropType ? a.setReserved("RaidDropType", 2) : a.h.RaidDropType = 2, p.createRecycledActor(p.getActorType(1396), 670, 160, 0), b.engine.getGameAttribute("PetLvl")[2] = 1)
}
The pet didn't show up in the hatchery even after closing and restarting the game but I think after I hatched another egg it did.