Comparing version 0.0.88 to 0.0.89
@@ -275,2 +275,6 @@ 'use strict'; | ||
serie.splice(0, 1); | ||
if (unit.skill_type === 'bodyshield' && serie.length > 0) { | ||
unit.takeDamages(serie[0].dmg * attackpower / 100, skill_type, round, serie[0].author, serie[0].num); | ||
serie.splice(0, 1); | ||
} | ||
} | ||
@@ -296,2 +300,6 @@ }); | ||
serie.splice(0, 1); | ||
if (unit.skill_type === 'bodyshield') { | ||
unit.takeDamages(serie[0].dmg * attackpower / 100, skill_type, round, serie[0].author, serie[0].num); | ||
serie.splice(0, 1); | ||
} | ||
} | ||
@@ -318,2 +326,6 @@ }); | ||
serie.splice(0, 1); | ||
if (unit.skill_type === 'bodyshield' && serie.length > 0) { | ||
unit.takeDamages(serie[0].dmg * attackpower / 100, skill_type, round, serie[0].author, serie[0].num); | ||
serie.splice(0, 1); | ||
} | ||
} | ||
@@ -320,0 +332,0 @@ }); |
@@ -56,2 +56,7 @@ 'use strict'; | ||
if (this.type === 'Range' && sender_skill === 'accurateprecision') { | ||
currentlog += ' [' + this.name.substring(0, 1).toUpperCase() + '] ' + this.key + ' (' + this.i + ') took <span style="color:red"> ' + damages / 10 + ' DMG</span> bonus.'; | ||
this.health = this.health - damages / 10; | ||
} | ||
if (this.skill.type === 'shield' && this.use > 0) { | ||
@@ -58,0 +63,0 @@ currentlog += ' [' + this.name.substring(0, 1).toUpperCase() + '] ' + this.key + ' (' + this.i + ') used his (' + this.use + ') shield.'; |
{ | ||
"spy": { | ||
"id": "spy", | ||
"type": "Melee", | ||
"mode": "attack", | ||
"npc": false, | ||
"score": 18, | ||
"name": "Spy", | ||
"desc": "He can only gather informations but he does it at the speed of lightning.", | ||
"feature": "SPY : Gives a lot of information about an opponent. This unit attack per group of 100!", | ||
"attack": 5, | ||
"health": 20, | ||
"defense":10, | ||
"weapon_defense":10, | ||
"fire_defense":10, | ||
"chemical_defense":10, | ||
"dmg_type":"physical", | ||
"speed": 3, | ||
"range": 3, | ||
"time": 40, | ||
"capacity": 10, | ||
"supply": 1, | ||
"priority": 25, | ||
"coeff": 0.65, | ||
"drugs_cost": 100, | ||
"weapons_cost": 100, | ||
"alcohols_cost": 300, | ||
"use":-1, | ||
"skill": {"type":"group","effect":100,"range":1,"use":-1,"passive":true} | ||
}, | ||
"hobo": { | ||
@@ -6,2 +35,3 @@ "id": "hobo", | ||
"mode": "attack", | ||
"npc": false, | ||
"score": 6, | ||
@@ -31,6 +61,7 @@ "name": "Hobo", | ||
}, | ||
"rowdy": { | ||
"rowdy": { | ||
"id": "rowdy", | ||
"type": "Melee", | ||
"mode": "both", | ||
"npc": false, | ||
"score": 6, | ||
@@ -64,2 +95,3 @@ "name": "Rowdy", | ||
"mode": "both", | ||
"npc": false, | ||
"score": 6, | ||
@@ -93,2 +125,3 @@ "name": "Super Bouncer", | ||
"mode": "both", | ||
"npc": false, | ||
"score": 203, | ||
@@ -122,2 +155,3 @@ "name": "Big Mama", | ||
"mode": "both", | ||
"npc": false, | ||
"score": 4, | ||
@@ -151,2 +185,3 @@ "name": "Knifer", | ||
"mode": "both", | ||
"npc": false, | ||
"score": 21, | ||
@@ -180,2 +215,3 @@ "name": "Gunman", | ||
"mode": "both", | ||
"npc": false, | ||
"score": 21, | ||
@@ -205,30 +241,2 @@ "name": "Lawyer", | ||
}, | ||
"spy": { | ||
"id": "spy", | ||
"type": "Melee", | ||
"mode": "attack", | ||
"score": 18, | ||
"name": "Spy", | ||
"desc": "He can only gather informations but he does it at the speed of lightning.", | ||
"feature": "SPY : Gives a lot of information about an opponent. This unit can not defend and attack per group of 100!", | ||
"attack": 5, | ||
"health": 20, | ||
"defense":10, | ||
"weapon_defense":10, | ||
"fire_defense":10, | ||
"chemical_defense":10, | ||
"dmg_type":"physical", | ||
"speed": 3, | ||
"range": 3, | ||
"time": 40, | ||
"capacity": 10, | ||
"supply": 1, | ||
"priority": 25, | ||
"coeff": 0.65, | ||
"drugs_cost": 100, | ||
"weapons_cost": 100, | ||
"alcohols_cost": 300, | ||
"use":-1, | ||
"skill": {"type":"group","effect":100,"range":1,"use":-1,"passive":true} | ||
}, | ||
"sniper": { | ||
@@ -238,2 +246,3 @@ "id": "sniper", | ||
"mode": "both", | ||
"npc": false, | ||
"score": 53, | ||
@@ -267,2 +276,3 @@ "name": "Sniper", | ||
"mode": "both", | ||
"npc": false, | ||
"score": 120, | ||
@@ -296,2 +306,3 @@ "name": "Hitman", | ||
"mode": "both", | ||
"npc": false, | ||
"score": 185, | ||
@@ -325,2 +336,3 @@ "name": "Ninja", | ||
"mode": "both", | ||
"npc": false, | ||
"score": 255, | ||
@@ -350,2 +362,31 @@ "name": "Bazooka Guy", | ||
}, | ||
"mercenary": { | ||
"id": "mercenary", | ||
"type": "Range", | ||
"mode": "both", | ||
"npc": false, | ||
"score": 383, | ||
"name": "Mercenary", | ||
"desc": "He is a freelancer that will only listen to money, but you won’t regret spending on him.", | ||
"feature": "BULLETPROOF : This unit will obtain 250HP back when he reaches 0. Elite.", | ||
"attack": 10000, | ||
"health": 7500, | ||
"defense":80, | ||
"weapon_defense":60, | ||
"fire_defense":40, | ||
"chemical_defense":40, | ||
"dmg_type":"chemical", | ||
"speed": 15, | ||
"range": 6, | ||
"time": 137, | ||
"capacity": 400, | ||
"supply": 7, | ||
"priority": 100, | ||
"coeff": 8, | ||
"drugs_cost": 0, | ||
"weapons_cost": 19000, | ||
"alcohols_cost": 14000, | ||
"use":1, | ||
"skill": {"type":"bulletproof","effect":250,"range":0,"use":1,"passive":true} | ||
}, | ||
"occupation_troop": { | ||
@@ -355,2 +396,3 @@ "id": "occupation_troop", | ||
"mode": "both", | ||
"npc": false, | ||
"score": 500, | ||
@@ -380,13 +422,101 @@ "name": "Occupation Troop", | ||
}, | ||
"mercenary": { | ||
"id": "mercenary", | ||
"guard": { | ||
"id": "guard", | ||
"type": "Melee", | ||
"mode": "both", | ||
"npc": true, | ||
"score": 383, | ||
"name": "Guard", | ||
"desc": "He is a freelancer that will only listen to money, but you won’t regret spending on him.", | ||
"feature": "GROUP : The guard always fights in groups of 2.", | ||
"attack": 250, | ||
"health": 400, | ||
"defense":50, | ||
"weapon_defense":20, | ||
"fire_defense":0, | ||
"chemical_defense":0, | ||
"dmg_type":"weapon", | ||
"speed": 12, | ||
"range": 1, | ||
"time": 64, | ||
"capacity": 100, | ||
"supply": 2, | ||
"priority": 50, | ||
"coeff": 0.62, | ||
"drugs_cost": 1000, | ||
"weapons_cost": 600, | ||
"alcohols_cost": 200, | ||
"use":-1, | ||
"skill": {"type":"group","effect":2,"range":1,"use":-1,"passive":true} | ||
}, | ||
"policeman": { | ||
"id": "policeman", | ||
"type": "Range", | ||
"mode": "both", | ||
"npc": true, | ||
"score": 383, | ||
"name": "Mercenary", | ||
"name": "Policeman", | ||
"desc": "He is a freelancer that will only listen to money, but you won’t regret spending on him.", | ||
"feature": "BULLETPROOF : This unit will obtain 250HP back when he reaches 0. Elite.", | ||
"attack": 10000, | ||
"health": 7500, | ||
"defense":80, | ||
"feature": "ACCURATE PRECISION : He's pretty good against range and gives a bonus damage.", | ||
"attack": 1600, | ||
"health": 1200, | ||
"defense":50, | ||
"weapon_defense":10, | ||
"fire_defense":30, | ||
"chemical_defense":20, | ||
"dmg_type":"fire", | ||
"speed": 9, | ||
"range": 5, | ||
"time": 102, | ||
"capacity": 200, | ||
"supply": 3, | ||
"priority": 75, | ||
"coeff": 1.28, | ||
"drugs_cost": 2000, | ||
"weapons_cost": 3600, | ||
"alcohols_cost": 3200, | ||
"use":-1, | ||
"skill": {"type":"accurateprecision","effect":1,"range":1,"use":-1,"passive":false} | ||
}, | ||
"bodyguard": { | ||
"id": "bodyguard", | ||
"type": "Melee", | ||
"mode": "both", | ||
"npc": true, | ||
"score": 383, | ||
"name": "Bodyguard", | ||
"desc": "He is a freelancer that will only listen to money, but you won’t regret spending on him.", | ||
"feature": "BODYSHIELD : This unit will take also 1 of the next hit.", | ||
"attack": 2000, | ||
"health": 10000, | ||
"defense":60, | ||
"weapon_defense":40, | ||
"fire_defense":20, | ||
"chemical_defense":20, | ||
"dmg_type":"physical", | ||
"speed": 11, | ||
"range": 1, | ||
"time": 57, | ||
"capacity": 400, | ||
"supply": 2, | ||
"priority": 55, | ||
"coeff": 0.84, | ||
"drugs_cost": 8000, | ||
"weapons_cost": 1600, | ||
"alcohols_cost": 1400, | ||
"use":1, | ||
"skill": {"type":"bodyshield","effect":1,"range":1,"use":1,"passive":true} | ||
}, | ||
"swat": { | ||
"id": "swat", | ||
"type": "Range", | ||
"mode": "both", | ||
"npc": true, | ||
"score": 383, | ||
"name": "Swat", | ||
"desc": "He is a freelancer that will only listen to money, but you won’t regret spending on him.", | ||
"feature": "MULTIPLE HIT : He will use two guns to take two shots.", | ||
"attack": 6000, | ||
"health": 8000, | ||
"defense":70, | ||
"weapon_defense":60, | ||
@@ -403,8 +533,124 @@ "fire_defense":40, | ||
"coeff": 8, | ||
"drugs_cost": 0, | ||
"drugs_cost": 5000, | ||
"weapons_cost": 19000, | ||
"alcohols_cost": 14000, | ||
"use":1, | ||
"skill": {"type":"bulletproof","effect":0,"range":0,"use":1,"passive":true} | ||
"skill": {"type":"multiplehit","effect":700,"range":3,"use":-1,"passive":true} | ||
}, | ||
"elitesniper": { | ||
"id": "elitesniper", | ||
"type": "Range", | ||
"mode": "both", | ||
"npc": true, | ||
"score": 383, | ||
"name": "EliteSniper", | ||
"desc": "He is a freelancer that will only listen to money, but you won’t regret spending on him.", | ||
"feature": "CRITICAL CHARGE : At each round, the sniper will increase its damage per 2*X, where X is the number of that round.", | ||
"attack": 1500, | ||
"health": 900, | ||
"defense":50, | ||
"weapon_defense":20, | ||
"fire_defense":10, | ||
"chemical_defense":20, | ||
"dmg_type":"weapon", | ||
"speed": 14, | ||
"range": 6, | ||
"time": 92, | ||
"capacity": 180, | ||
"supply": 4, | ||
"priority": 120, | ||
"coeff": 2.16, | ||
"drugs_cost": 3000, | ||
"weapons_cost": 3000, | ||
"alcohols_cost": 5600, | ||
"use":-1, | ||
"skill": {"type":"criticalhit","effect":1500,"range":2,"use":-1,"passive":false} | ||
}, | ||
"fbi": { | ||
"id": "fbi", | ||
"type": "Range", | ||
"mode": "both", | ||
"npc": true, | ||
"score": 383, | ||
"name": "FBI", | ||
"desc": "He is a freelancer that will only listen to money, but you won’t regret spending on him.", | ||
"feature": "DODGE : He will dodge 1 deadly hits. No matter the damage. Elite.", | ||
"attack": 5000, | ||
"health": 4000, | ||
"defense":80, | ||
"weapon_defense":50, | ||
"fire_defense":30, | ||
"chemical_defense":60, | ||
"dmg_type":"physical", | ||
"speed": 6, | ||
"range": 4, | ||
"time": 67, | ||
"capacity": 150, | ||
"supply": 5, | ||
"priority": 130, | ||
"coeff": 3.84, | ||
"drugs_cost": 5000, | ||
"weapons_cost": 7000, | ||
"alcohols_cost": 7000, | ||
"use":2, | ||
"skill": {"type":"dodge","effect":1,"range":1,"use":1,"passive":true} | ||
}, | ||
"cia": { | ||
"id": "cia", | ||
"type": "Range", | ||
"mode": "both", | ||
"npc": true, | ||
"score": 383, | ||
"name": "CIA", | ||
"desc": "He is a freelancer that will only listen to money, but you won’t regret spending on him.", | ||
"feature": "GRENADE : Hits 15 enemies at once.", | ||
"attack": 6000, | ||
"health": 2500, | ||
"defense":50, | ||
"weapon_defense":40, | ||
"fire_defense":10, | ||
"chemical_defense":10, | ||
"dmg_type":"fire", | ||
"speed": 17, | ||
"range": 7, | ||
"time": 102, | ||
"capacity": 300, | ||
"supply": 5, | ||
"priority": 150, | ||
"coeff": 4.28, | ||
"drugs_cost": 8000, | ||
"weapons_cost": 15000, | ||
"alcohols_cost": 13000, | ||
"use":3, | ||
"skill": {"type":"splash","effect":300,"range":15,"use":3,"passive":false} | ||
}, | ||
"military": { | ||
"id": "military", | ||
"type": "Range", | ||
"mode": "both", | ||
"npc": true, | ||
"score": 383, | ||
"name": "Military", | ||
"desc": "He is a freelancer that will only listen to money, but you won’t regret spending on him.", | ||
"feature": "BULLETPROOF : This unit will obtain 500HP back when he reaches 0. Elite.", | ||
"attack": 15000, | ||
"health": 10000, | ||
"defense":80, | ||
"weapon_defense":60, | ||
"fire_defense":40, | ||
"chemical_defense":40, | ||
"dmg_type":"chemical", | ||
"speed": 15, | ||
"range": 6, | ||
"time": 137, | ||
"capacity": 400, | ||
"supply": 7, | ||
"priority": 160, | ||
"coeff": 8, | ||
"drugs_cost": 10000, | ||
"weapons_cost": 19000, | ||
"alcohols_cost": 14000, | ||
"use":1, | ||
"skill": {"type":"bulletproof","effect":500,"range":0,"use":1,"passive":true} | ||
} | ||
} |
{ | ||
"name": "drugwars", | ||
"version": "0.0.88", | ||
"version": "0.0.89", | ||
"description": "A lightweight JavaScript library for DrugWars", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -248,2 +248,7 @@ import { orderBy } from 'lodash'; | ||
serie.splice(0, 1); | ||
if(unit.skill_type === 'bodyshield' && serie.length > 0) | ||
{ | ||
unit.takeDamages(serie[0].dmg * attackpower / 100, skill_type, round , serie[0].author, serie[0].num); | ||
serie.splice(0, 1); | ||
} | ||
} | ||
@@ -269,2 +274,7 @@ }); | ||
serie.splice(0, 1); | ||
if(unit.skill_type === 'bodyshield') | ||
{ | ||
unit.takeDamages(serie[0].dmg * attackpower / 100, skill_type, round , serie[0].author, serie[0].num); | ||
serie.splice(0, 1); | ||
} | ||
} | ||
@@ -291,2 +301,7 @@ }); | ||
serie.splice(0, 1); | ||
if(unit.skill_type === 'bodyshield' && serie.length > 0) | ||
{ | ||
unit.takeDamages(serie[0].dmg * attackpower / 100, skill_type, round , serie[0].author, serie[0].num); | ||
serie.splice(0, 1); | ||
} | ||
} | ||
@@ -293,0 +308,0 @@ }); |
@@ -38,2 +38,8 @@ import dunits from './units.json'; | ||
if(this.type === 'Range' && sender_skill === 'accurateprecision') | ||
{ | ||
currentlog +=` [${this.name.substring(0,1).toUpperCase()}] ${this.key} (${this.i}) took <span style="color:red"> ${damages/10} DMG</span> bonus.` | ||
this.health = this.health - damages/10; | ||
} | ||
if (this.skill.type === 'shield' && this.use > 0) { | ||
@@ -47,3 +53,2 @@ currentlog += ` [${this.name.substring(0, 1).toUpperCase()}] ${this.key} (${ | ||
if(this.skill.type === 'bulletproof' && this.health < damages && this.use > 0){ | ||
@@ -50,0 +55,0 @@ currentlog += `[${this.name.substring(0, 1).toUpperCase()}] ${this.key} (${this.i}) used his (${this.use}) bulletproof.` |
{ | ||
"spy": { | ||
"id": "spy", | ||
"type": "Melee", | ||
"mode": "attack", | ||
"npc": false, | ||
"score": 18, | ||
"name": "Spy", | ||
"desc": "He can only gather informations but he does it at the speed of lightning.", | ||
"feature": "SPY : Gives a lot of information about an opponent. This unit attack per group of 100!", | ||
"attack": 5, | ||
"health": 20, | ||
"defense":10, | ||
"weapon_defense":10, | ||
"fire_defense":10, | ||
"chemical_defense":10, | ||
"dmg_type":"physical", | ||
"speed": 3, | ||
"range": 3, | ||
"time": 40, | ||
"capacity": 10, | ||
"supply": 1, | ||
"priority": 25, | ||
"coeff": 0.65, | ||
"drugs_cost": 100, | ||
"weapons_cost": 100, | ||
"alcohols_cost": 300, | ||
"use":-1, | ||
"skill": {"type":"group","effect":100,"range":1,"use":-1,"passive":true} | ||
}, | ||
"hobo": { | ||
@@ -6,2 +35,3 @@ "id": "hobo", | ||
"mode": "attack", | ||
"npc": false, | ||
"score": 6, | ||
@@ -31,6 +61,7 @@ "name": "Hobo", | ||
}, | ||
"rowdy": { | ||
"rowdy": { | ||
"id": "rowdy", | ||
"type": "Melee", | ||
"mode": "both", | ||
"npc": false, | ||
"score": 6, | ||
@@ -64,2 +95,3 @@ "name": "Rowdy", | ||
"mode": "both", | ||
"npc": false, | ||
"score": 6, | ||
@@ -93,2 +125,3 @@ "name": "Super Bouncer", | ||
"mode": "both", | ||
"npc": false, | ||
"score": 203, | ||
@@ -122,2 +155,3 @@ "name": "Big Mama", | ||
"mode": "both", | ||
"npc": false, | ||
"score": 4, | ||
@@ -151,2 +185,3 @@ "name": "Knifer", | ||
"mode": "both", | ||
"npc": false, | ||
"score": 21, | ||
@@ -180,2 +215,3 @@ "name": "Gunman", | ||
"mode": "both", | ||
"npc": false, | ||
"score": 21, | ||
@@ -205,30 +241,2 @@ "name": "Lawyer", | ||
}, | ||
"spy": { | ||
"id": "spy", | ||
"type": "Melee", | ||
"mode": "attack", | ||
"score": 18, | ||
"name": "Spy", | ||
"desc": "He can only gather informations but he does it at the speed of lightning.", | ||
"feature": "SPY : Gives a lot of information about an opponent. This unit can not defend and attack per group of 100!", | ||
"attack": 5, | ||
"health": 20, | ||
"defense":10, | ||
"weapon_defense":10, | ||
"fire_defense":10, | ||
"chemical_defense":10, | ||
"dmg_type":"physical", | ||
"speed": 3, | ||
"range": 3, | ||
"time": 40, | ||
"capacity": 10, | ||
"supply": 1, | ||
"priority": 25, | ||
"coeff": 0.65, | ||
"drugs_cost": 100, | ||
"weapons_cost": 100, | ||
"alcohols_cost": 300, | ||
"use":-1, | ||
"skill": {"type":"group","effect":100,"range":1,"use":-1,"passive":true} | ||
}, | ||
"sniper": { | ||
@@ -238,2 +246,3 @@ "id": "sniper", | ||
"mode": "both", | ||
"npc": false, | ||
"score": 53, | ||
@@ -267,2 +276,3 @@ "name": "Sniper", | ||
"mode": "both", | ||
"npc": false, | ||
"score": 120, | ||
@@ -296,2 +306,3 @@ "name": "Hitman", | ||
"mode": "both", | ||
"npc": false, | ||
"score": 185, | ||
@@ -325,2 +336,3 @@ "name": "Ninja", | ||
"mode": "both", | ||
"npc": false, | ||
"score": 255, | ||
@@ -350,2 +362,31 @@ "name": "Bazooka Guy", | ||
}, | ||
"mercenary": { | ||
"id": "mercenary", | ||
"type": "Range", | ||
"mode": "both", | ||
"npc": false, | ||
"score": 383, | ||
"name": "Mercenary", | ||
"desc": "He is a freelancer that will only listen to money, but you won’t regret spending on him.", | ||
"feature": "BULLETPROOF : This unit will obtain 250HP back when he reaches 0. Elite.", | ||
"attack": 10000, | ||
"health": 7500, | ||
"defense":80, | ||
"weapon_defense":60, | ||
"fire_defense":40, | ||
"chemical_defense":40, | ||
"dmg_type":"chemical", | ||
"speed": 15, | ||
"range": 6, | ||
"time": 137, | ||
"capacity": 400, | ||
"supply": 7, | ||
"priority": 100, | ||
"coeff": 8, | ||
"drugs_cost": 0, | ||
"weapons_cost": 19000, | ||
"alcohols_cost": 14000, | ||
"use":1, | ||
"skill": {"type":"bulletproof","effect":250,"range":0,"use":1,"passive":true} | ||
}, | ||
"occupation_troop": { | ||
@@ -355,2 +396,3 @@ "id": "occupation_troop", | ||
"mode": "both", | ||
"npc": false, | ||
"score": 500, | ||
@@ -380,13 +422,101 @@ "name": "Occupation Troop", | ||
}, | ||
"mercenary": { | ||
"id": "mercenary", | ||
"guard": { | ||
"id": "guard", | ||
"type": "Melee", | ||
"mode": "both", | ||
"npc": true, | ||
"score": 383, | ||
"name": "Guard", | ||
"desc": "He is a freelancer that will only listen to money, but you won’t regret spending on him.", | ||
"feature": "GROUP : The guard always fights in groups of 2.", | ||
"attack": 250, | ||
"health": 400, | ||
"defense":50, | ||
"weapon_defense":20, | ||
"fire_defense":0, | ||
"chemical_defense":0, | ||
"dmg_type":"weapon", | ||
"speed": 12, | ||
"range": 1, | ||
"time": 64, | ||
"capacity": 100, | ||
"supply": 2, | ||
"priority": 50, | ||
"coeff": 0.62, | ||
"drugs_cost": 1000, | ||
"weapons_cost": 600, | ||
"alcohols_cost": 200, | ||
"use":-1, | ||
"skill": {"type":"group","effect":2,"range":1,"use":-1,"passive":true} | ||
}, | ||
"policeman": { | ||
"id": "policeman", | ||
"type": "Range", | ||
"mode": "both", | ||
"npc": true, | ||
"score": 383, | ||
"name": "Mercenary", | ||
"name": "Policeman", | ||
"desc": "He is a freelancer that will only listen to money, but you won’t regret spending on him.", | ||
"feature": "BULLETPROOF : This unit will obtain 250HP back when he reaches 0. Elite.", | ||
"attack": 10000, | ||
"health": 7500, | ||
"defense":80, | ||
"feature": "ACCURATE PRECISION : He's pretty good against range and gives a bonus damage.", | ||
"attack": 1600, | ||
"health": 1200, | ||
"defense":50, | ||
"weapon_defense":10, | ||
"fire_defense":30, | ||
"chemical_defense":20, | ||
"dmg_type":"fire", | ||
"speed": 9, | ||
"range": 5, | ||
"time": 102, | ||
"capacity": 200, | ||
"supply": 3, | ||
"priority": 75, | ||
"coeff": 1.28, | ||
"drugs_cost": 2000, | ||
"weapons_cost": 3600, | ||
"alcohols_cost": 3200, | ||
"use":-1, | ||
"skill": {"type":"accurateprecision","effect":1,"range":1,"use":-1,"passive":false} | ||
}, | ||
"bodyguard": { | ||
"id": "bodyguard", | ||
"type": "Melee", | ||
"mode": "both", | ||
"npc": true, | ||
"score": 383, | ||
"name": "Bodyguard", | ||
"desc": "He is a freelancer that will only listen to money, but you won’t regret spending on him.", | ||
"feature": "BODYSHIELD : This unit will take also 1 of the next hit.", | ||
"attack": 2000, | ||
"health": 10000, | ||
"defense":60, | ||
"weapon_defense":40, | ||
"fire_defense":20, | ||
"chemical_defense":20, | ||
"dmg_type":"physical", | ||
"speed": 11, | ||
"range": 1, | ||
"time": 57, | ||
"capacity": 400, | ||
"supply": 2, | ||
"priority": 55, | ||
"coeff": 0.84, | ||
"drugs_cost": 8000, | ||
"weapons_cost": 1600, | ||
"alcohols_cost": 1400, | ||
"use":1, | ||
"skill": {"type":"bodyshield","effect":1,"range":1,"use":1,"passive":true} | ||
}, | ||
"swat": { | ||
"id": "swat", | ||
"type": "Range", | ||
"mode": "both", | ||
"npc": true, | ||
"score": 383, | ||
"name": "Swat", | ||
"desc": "He is a freelancer that will only listen to money, but you won’t regret spending on him.", | ||
"feature": "MULTIPLE HIT : He will use two guns to take two shots.", | ||
"attack": 6000, | ||
"health": 8000, | ||
"defense":70, | ||
"weapon_defense":60, | ||
@@ -403,8 +533,124 @@ "fire_defense":40, | ||
"coeff": 8, | ||
"drugs_cost": 0, | ||
"drugs_cost": 5000, | ||
"weapons_cost": 19000, | ||
"alcohols_cost": 14000, | ||
"use":1, | ||
"skill": {"type":"bulletproof","effect":0,"range":0,"use":1,"passive":true} | ||
"skill": {"type":"multiplehit","effect":700,"range":3,"use":-1,"passive":true} | ||
}, | ||
"elitesniper": { | ||
"id": "elitesniper", | ||
"type": "Range", | ||
"mode": "both", | ||
"npc": true, | ||
"score": 383, | ||
"name": "EliteSniper", | ||
"desc": "He is a freelancer that will only listen to money, but you won’t regret spending on him.", | ||
"feature": "CRITICAL CHARGE : At each round, the sniper will increase its damage per 2*X, where X is the number of that round.", | ||
"attack": 1500, | ||
"health": 900, | ||
"defense":50, | ||
"weapon_defense":20, | ||
"fire_defense":10, | ||
"chemical_defense":20, | ||
"dmg_type":"weapon", | ||
"speed": 14, | ||
"range": 6, | ||
"time": 92, | ||
"capacity": 180, | ||
"supply": 4, | ||
"priority": 120, | ||
"coeff": 2.16, | ||
"drugs_cost": 3000, | ||
"weapons_cost": 3000, | ||
"alcohols_cost": 5600, | ||
"use":-1, | ||
"skill": {"type":"criticalhit","effect":1500,"range":2,"use":-1,"passive":false} | ||
}, | ||
"fbi": { | ||
"id": "fbi", | ||
"type": "Range", | ||
"mode": "both", | ||
"npc": true, | ||
"score": 383, | ||
"name": "FBI", | ||
"desc": "He is a freelancer that will only listen to money, but you won’t regret spending on him.", | ||
"feature": "DODGE : He will dodge 1 deadly hits. No matter the damage. Elite.", | ||
"attack": 5000, | ||
"health": 4000, | ||
"defense":80, | ||
"weapon_defense":50, | ||
"fire_defense":30, | ||
"chemical_defense":60, | ||
"dmg_type":"physical", | ||
"speed": 6, | ||
"range": 4, | ||
"time": 67, | ||
"capacity": 150, | ||
"supply": 5, | ||
"priority": 130, | ||
"coeff": 3.84, | ||
"drugs_cost": 5000, | ||
"weapons_cost": 7000, | ||
"alcohols_cost": 7000, | ||
"use":2, | ||
"skill": {"type":"dodge","effect":1,"range":1,"use":1,"passive":true} | ||
}, | ||
"cia": { | ||
"id": "cia", | ||
"type": "Range", | ||
"mode": "both", | ||
"npc": true, | ||
"score": 383, | ||
"name": "CIA", | ||
"desc": "He is a freelancer that will only listen to money, but you won’t regret spending on him.", | ||
"feature": "GRENADE : Hits 15 enemies at once.", | ||
"attack": 6000, | ||
"health": 2500, | ||
"defense":50, | ||
"weapon_defense":40, | ||
"fire_defense":10, | ||
"chemical_defense":10, | ||
"dmg_type":"fire", | ||
"speed": 17, | ||
"range": 7, | ||
"time": 102, | ||
"capacity": 300, | ||
"supply": 5, | ||
"priority": 150, | ||
"coeff": 4.28, | ||
"drugs_cost": 8000, | ||
"weapons_cost": 15000, | ||
"alcohols_cost": 13000, | ||
"use":3, | ||
"skill": {"type":"splash","effect":300,"range":15,"use":3,"passive":false} | ||
}, | ||
"military": { | ||
"id": "military", | ||
"type": "Range", | ||
"mode": "both", | ||
"npc": true, | ||
"score": 383, | ||
"name": "Military", | ||
"desc": "He is a freelancer that will only listen to money, but you won’t regret spending on him.", | ||
"feature": "BULLETPROOF : This unit will obtain 500HP back when he reaches 0. Elite.", | ||
"attack": 15000, | ||
"health": 10000, | ||
"defense":80, | ||
"weapon_defense":60, | ||
"fire_defense":40, | ||
"chemical_defense":40, | ||
"dmg_type":"chemical", | ||
"speed": 15, | ||
"range": 6, | ||
"time": 137, | ||
"capacity": 400, | ||
"supply": 7, | ||
"priority": 160, | ||
"coeff": 8, | ||
"drugs_cost": 10000, | ||
"weapons_cost": 19000, | ||
"alcohols_cost": 14000, | ||
"use":1, | ||
"skill": {"type":"bulletproof","effect":500,"range":0,"use":1,"passive":true} | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
2497466
10737