Skip to content

Commit

Permalink
stress test hot patch
Browse files Browse the repository at this point in the history
  • Loading branch information
mattieFM committed Sep 15, 2023
1 parent c3c6cc5 commit fb953da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/mods/commonLibs/_common/betterCrowMauler.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ MATTIE.betterCrowMauler.spawnInterval = 10000;
* @description the chance that crow mauler will spawn every interval
* @default .05
* */
MATTIE.betterCrowMauler.spawnChance = .01;
MATTIE.betterCrowMauler.spawnChance = .003;

/**
* @description the chance that crow mauler will follow you into the next room
Expand Down Expand Up @@ -81,7 +81,7 @@ MATTIE.betterCrowMauler.crowController.prototype.disableBaseCrowMauler = functio
* @description the function called every x ms to check if crow mauler should spawn
*/
MATTIE.betterCrowMauler.crowController.prototype.spawnTick = function(){
if(!this.onScreen && !this.hasSpawned && !this.isDead() && !$gameParty.inBattle() && SceneManager._scene instanceof Scene_Map) this.update();
if(!this.onScreen && !this.hasSpawned && !this.isDead() && !$gameParty.inBattle() && SceneManager._scene instanceof Scene_Map && ($gameSwitches.value(MATTIE.static.switch.crowMaulerCanSpawn))) this.update();
}

MATTIE.betterCrowMauler.crowController.prototype.battleSpawnTick = function(){
Expand Down
2 changes: 2 additions & 0 deletions www/mods/commonLibs/_common/static.js
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,8 @@ MATTIE.static.update = function(){
MATTIE.static.switch.godAffinitySwitches = MATTIE.static.rangeParser(MATTIE.static.switch.godAffinitySwitches);
MATTIE.static.variable.godAffinityAndPrayerVars = MATTIE.static.rangeParser(MATTIE.static.variable.godAffinityAndPrayerVars);
MATTIE.static.variable.ignoredVars = [ //ignored vars
12,
11,
4,
30, //player_mp
"22-23", //arrow var
Expand Down

0 comments on commit fb953da

Please sign in to comment.