mirror of
https://gitlab.com/Deukhoofd/BattleSim.git
synced 2025-10-27 18:00:03 +00:00
Resolve #27
This commit is contained in:
@@ -4835,6 +4835,7 @@
|
||||
BattleView.prototype.isIllusioned = function(pokemon) {
|
||||
var illusionmons, _ref;
|
||||
illusionmons = ['Zoroark', 'Zorua'];
|
||||
console.log(pokemon.getIllu());
|
||||
if ((_ref = pokemon.attributes.species, __indexOf.call(illusionmons, _ref) >= 0) && pokemon.attributes.percent === 100 && this.model.attributes.turn <= 1) {
|
||||
return true;
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -4561,6 +4561,7 @@
|
||||
BattleView.prototype.isIllusioned = function(pokemon) {
|
||||
var illusionmons, _ref;
|
||||
illusionmons = ['Zoroark', 'Zorua'];
|
||||
console.log(pokemon.getIllu());
|
||||
if ((_ref = pokemon.attributes.species, __indexOf.call(illusionmons, _ref) >= 0) && pokemon.attributes.percent === 100 && this.model.attributes.turn <= 1) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user