Comparing version 0.1.71 to 0.1.72
@@ -168,3 +168,3 @@ 'use strict'; | ||
var attack = _buildings2.default[mines.key].attack * Math.ceil(mines.lvl * 5); | ||
if (attack > 50) attack = 50; | ||
if (attack > 75) attack = 75; | ||
for (var i = 0; i < parseInt(Math.ceil(mines.lvl / 5)); i++) { | ||
@@ -171,0 +171,0 @@ actions.push([attack, { type: 'splash', range: 3 }, _buildings2.default[mines.key].name, 1, 1]); |
@@ -477,3 +477,3 @@ { | ||
"feature": "MULTI TARGET : After the first round target the lowest and the highest enemies at once.", | ||
"attack": 60, | ||
"attack": 30, | ||
"health": 70, | ||
@@ -480,0 +480,0 @@ "defense":10, |
{ | ||
"name": "drugwars", | ||
"version": "0.1.71", | ||
"version": "0.1.72", | ||
"description": "A lightweight JavaScript library for DrugWars", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -119,4 +119,4 @@ import { orderBy } from 'lodash'; | ||
let attack = dwbuildings[mines.key].attack * Math.ceil(mines.lvl * 5) | ||
if (attack > 50) | ||
attack = 50; | ||
if (attack > 75) | ||
attack = 75; | ||
for (let i = 0; i < parseInt(Math.ceil(mines.lvl / 5)); i++) { | ||
@@ -123,0 +123,0 @@ actions.push([attack, { type: 'splash', range: 3 }, dwbuildings[mines.key].name, 1, 1]); |
@@ -477,3 +477,3 @@ { | ||
"feature": "MULTI TARGET : After the first round target the lowest and the highest enemies at once.", | ||
"attack": 60, | ||
"attack": 30, | ||
"health": 70, | ||
@@ -480,0 +480,0 @@ "defense":10, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet