mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-04 15:56:52 +02:00
Fix
This commit is contained in:
@@ -175,7 +175,7 @@ module.exports = class PokemonAdvantageCommand extends Command {
|
||||
secndResult += this.calculateSingleAdvantage(types1, secndEffectives1);
|
||||
if (secndEffectives2) secndResult += this.calculateSingleAdvantage(types1, secndEffectives2);
|
||||
if (firstResult === secndResult) return true;
|
||||
return firstResult > secndResult ? pkmn2 : pkmn1;
|
||||
return firstResult > secndResult ? pkmn1 : pkmn2;
|
||||
}
|
||||
|
||||
calculateSingleAdvantage(types, advs) {
|
||||
|
||||
Reference in New Issue
Block a user