Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

drugwars

Package Overview
Dependencies
Maintainers
1
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

drugwars - npm Package Compare versions

Comparing version 0.1.71 to 0.1.72

2

lib/army.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc