gotchi-battler-game-logic 2.0.6 → 2.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/debug.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[1125/170833.130:ERROR:registration_protocol_win.cc(108)] CreateFile: The system cannot find the file specified. (0x2)
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
[1125/170832.999:ERROR:registration_protocol_win.cc(108)] CreateFile: The system cannot find the file specified. (0x2)
|
|
2
|
+
[1125/170833.267:ERROR:registration_protocol_win.cc(108)] CreateFile: The system cannot find the file specified. (0x2)
|
|
3
|
+
[1125/170833.445:ERROR:registration_protocol_win.cc(108)] CreateFile: The system cannot find the file specified. (0x2)
|
|
@@ -509,6 +509,9 @@ const prepareTeams = (allAliveGotchis, team1, team2) => {
|
|
|
509
509
|
// check there's no duplicate gotchis
|
|
510
510
|
scrambleGotchiIds(allAliveGotchis, team1, team2);
|
|
511
511
|
|
|
512
|
+
// Apply stat items
|
|
513
|
+
applyStatItems(allAliveGotchis)
|
|
514
|
+
|
|
512
515
|
allAliveGotchis.forEach(x => {
|
|
513
516
|
// Add statuses property to all gotchis
|
|
514
517
|
x.statuses = []
|
|
@@ -530,9 +533,6 @@ const prepareTeams = (allAliveGotchis, team1, team2) => {
|
|
|
530
533
|
// Add leader passive to team
|
|
531
534
|
addLeaderToTeam(team1)
|
|
532
535
|
addLeaderToTeam(team2)
|
|
533
|
-
|
|
534
|
-
// Apply stat items
|
|
535
|
-
applyStatItems(allAliveGotchis)
|
|
536
536
|
}
|
|
537
537
|
|
|
538
538
|
/**
|
package/game-logic/v1.7/index.js
CHANGED
|
@@ -271,7 +271,7 @@ const attack = (attackingGotchi, attackingTeam, defendingTeam, defendingTargets,
|
|
|
271
271
|
&& !options.cannotBeCountered) {
|
|
272
272
|
|
|
273
273
|
// Chance to counter based on speed over 100
|
|
274
|
-
let chanceToCounter =
|
|
274
|
+
let chanceToCounter = modifiedDefendingGotchi.speed - 100
|
|
275
275
|
|
|
276
276
|
if (chanceToCounter < MULTS.COUNTER_CHANCE_MIN) chanceToCounter = MULTS.COUNTER_CHANCE_MIN
|
|
277
277
|
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[1125/170833.969:ERROR:registration_protocol_win.cc(108)] CreateFile: The system cannot find the file specified. (0x2)
|