Complete overhaul of code structure and relevant files (#639)
This commit is contained in:
11
src/Sim/ReplacedGameFunctions/SimAuraMult.js
Normal file
11
src/Sim/ReplacedGameFunctions/SimAuraMult.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import { SimDragonAura, SimDragonAura2 } from '../VariablesAndData';
|
||||
|
||||
/**
|
||||
* This functions creates functions similarly to Game.auraMult but checks Sim Data instead of Game Data
|
||||
*/
|
||||
export default function SimAuraMult(what) {
|
||||
let n = 0;
|
||||
if (Game.dragonAuras[SimDragonAura].name === what || Game.dragonAuras[SimDragonAura2].name === what) n = 1;
|
||||
if (Game.dragonAuras[SimDragonAura].name === 'Reality Bending' || Game.dragonAuras[SimDragonAura2].name === 'Reality Bending') n += 0.1;
|
||||
return n;
|
||||
}
|
||||
Reference in New Issue
Block a user