Skip to content

Commit

Permalink
Terület alapú védelem (fix #12)
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Eszes committed Nov 2, 2014
1 parent bb43652 commit 868038e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/fight.js
Expand Up @@ -100,6 +100,11 @@ function calculateDefPoints() {
console.log('[VÉD] vedelem_bonusz='+vedelem_bonusz);
console.log('[VÉD] szabadsag_bonusz='+szabadsag_bonusz);
console.log('[VÉD] sum='+points);
// Terület alapú védelem
if (points < terulet) {
points = terulet;
console.log('[VÉD] points<terulet -> sum='+points);
}
return points;
}

Expand Down

0 comments on commit 868038e

Please sign in to comment.