diff --git a/scripts/combatant.js b/scripts/combatant.js index 05fb3e4..9b07b11 100644 --- a/scripts/combatant.js +++ b/scripts/combatant.js @@ -242,7 +242,7 @@ function makeSoldier(req, res, set) { res.status(200); res.header("Content-Type", "text/plain; charset=utf-8"); - res.end(text); + res.end(text + '\n'); } else { res.status(200); res.header("Content-Type", "application/json; charset=utf-8"); diff --git a/scripts/data/combatant.json b/scripts/data/combatant.json index c434c15..e4a77cc 100644 --- a/scripts/data/combatant.json +++ b/scripts/data/combatant.json @@ -19,18 +19,18 @@ }, "weapons": { "primary": { - "M-23 Katana": {"chance": 0.75, "ammo": 5, "type": "Shotgun"}, + "M-23 Katana": {"chance": 0.85, "ammo": 5, "type": "Shotgun"}, "M-22 Eviscerator": {"chance": 0.10, "ammo": 3, "type": "Shotgun"}, "M-27 Scimitar": {"chance": 0.25, "ammo": 8, "type": "Shotgun"}, - "M-8 Avenger": {"chance": 0.90, "ammo": 30, "type": "Assault Rifle"}, - "M-15 Vindicator": {"chance": 0.60, "ammo": 24, "type": "Assault Rifle"}, + "M-8 Avenger": {"chance": 0.70, "ammo": 30, "type": "Assault Rifle"}, + "M-15 Vindicator": {"chance": 0.70, "ammo": 24, "type": "Assault Rifle"}, "Striker Assault Rifle": {"chance": 0.05, "ammo": 12, "type": "Assault Rifle"}, "M-97 Viper": {"chance": 0.25, "ammo": 6, "type": "Sniper Rifle"}, "M-92 Mantis": {"chance": 0.30, "ammo": 1, "type": "Sniper Rifle"}, "Kishock Harpoon Gun": {"chance": 0.05, "ammo": 1, "type": "Sniper Rifle"}, "Blood Pack Punisher": {"chance": 0.10, "ammo": 40, "type": "Submachine Gun"}, - "M-4 Shuriken": {"chance": 0.90, "ammo": 36, "type": "Submachine Gun"}, - "M-9 Tempest": {"chance": 0.25, "ammo": 50, "type": "Submachine Gun"}, + "M-4 Shuriken": {"chance": 0.75, "ammo": 36, "type": "Submachine Gun"}, + "M-9 Tempest": {"chance": 0.30, "ammo": 50, "type": "Submachine Gun"}, "M-12 Locust": {"chance": 0.75, "ammo": 20, "type": "Submachine Gun"} }, "secondary": {