Added tooltips to Pantheon #597

This commit is contained in:
Daniël van Noord
2021-03-15 23:32:52 +01:00
parent b6d9ca8dbb
commit eee72bceb6
25 changed files with 823 additions and 554 deletions

View File

@@ -0,0 +1,13 @@
import CalculateChangeGod from '../../Sim/SimulationEvents/GodChange';
import { CacheGods } from '../VariablesAndData';
/**
* This functions caches the cps effect of each God in slot 1, 2 or 3
*/
export default function CachePantheonGods() {
for (let god = 0; god < 11; god += 1) {
for (let slot = 0; slot < 3; slot += 1) {
CacheGods[god][slot] = CalculateChangeGod(god, slot);
}
}
}

View File

@@ -99,3 +99,17 @@ export let CacheLastHeavenlyChips;
export let CacheDoRemakeBuildPrices;
export let CacheHadBuildAura;
export let CacheGods = {
0: [0, 0, 0],
1: [0, 0, 0],
2: [0, 0, 0],
3: [0, 0, 0],
4: [0, 0, 0],
5: [0, 0, 0],
6: [0, 0, 0],
7: [0, 0, 0],
8: [0, 0, 0],
9: [0, 0, 0],
10: [0, 0, 0],
};