Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
Fixes #42
  • Loading branch information
jake-white committed Feb 8, 2018
1 parent 99ef233 commit 64ca38f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions script_res/damage.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ function getDamageResult(attacker, defender, move, field) {
var isQuarteredByProtect = false;
if(move.isSignatureZ){
move.isZ = true;
if(field.isProtect){
isQuarteredByProtect = true;
}
}
if(move.isZ && !move.isSignatureZ){
if (move.name === "Nature Power") {
Expand Down

0 comments on commit 64ca38f

Please sign in to comment.