diff --git a/images/legends/class/00.png b/images/legends/class/00.png index 52a7b4b..584604d 100644 Binary files a/images/legends/class/00.png and b/images/legends/class/00.png differ diff --git a/images/legends/class/01.png b/images/legends/class/01.png index 857b4b3..1d302f5 100644 Binary files a/images/legends/class/01.png and b/images/legends/class/01.png differ diff --git a/images/legends/class/02.png b/images/legends/class/02.png index 58fc3fe..db9a43a 100644 Binary files a/images/legends/class/02.png and b/images/legends/class/02.png differ diff --git a/images/legends/class/03.png b/images/legends/class/03.png index b79df98..23cbfd8 100644 Binary files a/images/legends/class/03.png and b/images/legends/class/03.png differ diff --git a/images/legends/class/04.png b/images/legends/class/04.png new file mode 100644 index 0000000..9091e0c Binary files /dev/null and b/images/legends/class/04.png differ diff --git a/images/weapons/nemesis.png b/images/weapons/nemesis.png new file mode 100644 index 0000000..3d03f3b Binary files /dev/null and b/images/weapons/nemesis.png differ diff --git a/script.js b/script.js index 172cb44..f95a6be 100644 --- a/script.js +++ b/script.js @@ -128,9 +128,9 @@ var legend_ultimates = [ "DARK VEIL" ]; -var legend_classes = [0, 1, 2, 0, 3, 3, 1, 3, 3, 1, 0, 3, 2, 1, 3, 3, 0, 0, 3, 3, 1, 0, 1]; +var legend_classes = [2, 3, 3, 1, 1, 0, 4, 1, 1, 4, 2, 0, 3, 4, 1, 0, 1, 2, 0, 0, 3, 2, 4]; var legend_mods = [-1, 0, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1]; -var legend_classes_txt = ["RECON", "DEFENSE", "SUPPORT", "OFFENSE"]; +var legend_classes_txt = ["ASSAULT", "SKIRMISHER", "RECON", "SUPPORT", "CONTROLLER"]; var legend_mods_txt = ["FORTIFIED", "LOW PROFILE"]; var optic_txt = ["1X DIGITAL THREAT", "1X HOLO", "1X-2X VARIABLE HOLO", "1X HCOG 'CLASSIC'", "2X HCOG 'BRUISER'", "3X HCOG 'RANGER'", "2X-4X VARIABLE AOG", "6X SNIPER", "4X-8X VARIABLE SNIPER", "4X-10X DIGITAL SNIPER THREAT"]; @@ -153,7 +153,7 @@ var hopup_txt = [ "DUAL SHELL", "KINETIC FEEDER" ]; -var hopup_level = [3, 3, 4, 4, 3, 4, 4, 3, 1, 3, 3, 3, 3, 3, 3]; +var hopup_level = [3, 3, 4, 4, 3, 4, 4, 4, 1, 3, 3, 3, 3, 3, 3]; var mag_txt = ["EXTENDED LIGHT MAGAZINE", "EXTENDED HEAVY MAGAZINE", "EXTENDED SNIPER MAGAZINE", "EXTENDED ENERGY MAGAZINE"]; var ammo_txt = ["LIGHT ROUNDS", "HEAVY ROUNDS", "SNIPER AMMO", "ENERGY AMMO", "SHOTGUN SHELLS", "ARROWS"]; @@ -170,15 +170,16 @@ weapons.push({name:"VOLT SMG", laser:false, barrel:true, bolt:false, mag:[3], op weapons.push({name:"C.A.R. SMG", laser:false, barrel: false, bolt:false, mag:[1,0], optic:[0, 1, 2, 3, 4], stock_standard:true, stock_sniper:false, hopup:[], multi_hopup:false, ammo:1, filename:"car.png"}); weapons.push({name:"R-99 SMG", laser:true, barrel:false, bolt:false, mag:[0], optic:[0, 1, 2, 3, 4], stock_standard:true, stock_sniper:false, hopup:[], multi_hopup:false, ammo:0, filename:"r99.png"}); weapons.push({name:"ALTERNATOR SMG", laser:true, barrel:false, bolt:false, mag:[0], optic:[0, 1, 2, 3, 4], stock_standard:true, stock_sniper:false, hopup:[], multi_hopup:false, ammo:0, filename:"alternator.png"}); -weapons.push({name:"VK-47 FLATLINE", laser:false, barrel:false, bolt:false, mag:[1], optic:[1, 2, 3, 4, 5, 6], stock_standard:true, stock_sniper:false, hopup:[6], multi_hopup:false, ammo:1, filename:"flatline.png"}); -weapons.push({name:"R-301 CARBINE", laser:false, barrel:true, bolt:false, mag:[0], optic:[1, 2, 3, 4, 5, 6], stock_standard:true, stock_sniper:false, hopup:[6], multi_hopup:false, ammo:0, filename:"r301.png"}); +weapons.push({name:"VK-47 FLATLINE", laser:false, barrel:false, bolt:false, mag:[1], optic:[1, 2, 3, 4, 5, 6], stock_standard:true, stock_sniper:false, hopup:[], multi_hopup:false, ammo:1, filename:"flatline.png"}); +weapons.push({name:"R-301 CARBINE", laser:false, barrel:true, bolt:false, mag:[0], optic:[1, 2, 3, 4, 5, 6], stock_standard:true, stock_sniper:false, hopup:[], multi_hopup:false, ammo:0, filename:"r301.png"}); +weapons.push({name:"HAVOC RIFLE", laser:false, barrel:false, bolt:false, mag:[3], optic:[1, 2, 3, 4, 5, 6], stock_standard:true, stock_sniper:false, hopup:[3], multi_hopup:false, ammo:3, filename:"havoc.png"}); +//weapons.push({name:"HEMLOK BURST AR", laser:false, barrel:true, bolt:false, mag:[1], optic:[1, 2, 3, 4, 5, 6], stock_standard:true, stock_sniper:false, hopup:[], multi_hopup:false, ammo:1, filename:"hemlok.png"}); +weapons.push({name:"NEMESIS BURST AR", laser:false, barrel:true, bolt:false, mag:[3], optic:[1, 2, 3, 4, 5, 6], stock_standard:true, stock_sniper:false, hopup:[], multi_hopup:false, ammo:3, filename:"nemesis.png"}); weapons.push({name:"M600 SPITFIRE", laser:false, barrel:false, bolt:false, mag:[0], optic:[1, 2, 3, 4, 5, 6], stock_standard:true, stock_sniper:false, hopup:[], multi_hopup:false, ammo:0, filename:"spitfire.png"}); weapons.push({name:"DEVOTION LMG", laser:false, barrel:true, bolt:false, mag:[3], optic:[1, 2, 3, 4, 5, 6], stock_standard:true, stock_sniper:false, hopup:[3], multi_hopup:false, ammo:3, filename:"devotion.png"}); -//weapons.push({name:"RAMPAGE", laser:false, barrel:true, bolt:false, mag:[1], optic:[1, 2, 3, 4, 5, 6], stock_standard:true, stock_sniper:false, hopup:[], multi_hopup:false, ammo:1, filename:"rampage.png"}); -weapons.push({name:"HAVOC RIFLE", laser:false, barrel:false, bolt:false, mag:[3], optic:[1, 2, 3, 4, 5, 6], stock_standard:true, stock_sniper:false, hopup:[3], multi_hopup:false, ammo:3, filename:"havoc.png"}); +weapons.push({name:"RAMPAGE", laser:false, barrel:true, bolt:false, mag:[1], optic:[1, 2, 3, 4, 5, 6], stock_standard:true, stock_sniper:false, hopup:[], multi_hopup:false, ammo:1, filename:"rampage.png"}); weapons.push({name:"L-STAR EMG", laser:false, barrel:true, bolt:false, mag:[3], optic:[1, 2, 3, 4, 5, 6], stock_standard:true, stock_sniper:false, hopup:[], multi_hopup:false, ammo:3, filename:"lstar.png"}); weapons.push({name:"G7 SCOUT", laser:false, barrel:true, bolt:false, mag:[0], optic:[1, 2, 3, 4, 5, 6], stock_standard:false, stock_sniper:true, hopup:[5], multi_hopup:false, ammo:0, filename:"g7.png"}); -weapons.push({name:"HEMLOK BURST AR", laser:false, barrel:true, bolt:false, mag:[1], optic:[1, 2, 3, 4, 5, 6], stock_standard:true, stock_sniper:false, hopup:[], multi_hopup:false, ammo:1, filename:"hemlok.png"}); weapons.push({name:"30-30 REPEATER", laser:false, barrel:false, bolt:false, mag:[1], optic:[1, 2, 3, 4, 5, 6], stock_standard:false, stock_sniper:true, hopup:[2], multi_hopup:false, ammo:1, filename:"3030.png"}); weapons.push({name:"TRIPLE TAKE", laser:false, barrel:false, bolt:false, mag:[3], optic:[1, 2, 3, 4, 5, 6], stock_standard:false, stock_sniper:true, hopup:[], multi_hopup:false, ammo:3, filename:"tripletake.png"}); //weapons.push({name:"BOCEK COMPOUND BOW", laser:false, barrel:false, bolt:false, mag:[], optic:[1, 2, 3, 4, 5], stock_standard:false, stock_sniper:false, hopup:[], multi_hopup:true, ammo:5, filename:"bocek.png"}); @@ -188,11 +189,11 @@ weapons.push({name:"PROWLER BURST PDW", laser:true, barrel:false, bolt:false, ma weapons.push({name:"LONGBOW DMR", laser:false, barrel:true, bolt:false, mag:[2], optic:[1, 2, 3, 4, 5, 6, 7, 8 ,9], stock_standard:false, stock_sniper:true, hopup:[2], multi_hopup:false, ammo:2, filename:"longbow.png"}); weapons.push({name:"SENTINEL", laser:false, barrel:false, bolt:false, mag:[2], optic:[1, 2, 3, 4, 5, 6, 7, 8 ,9], stock_standard:false, stock_sniper:true, hopup:[], multi_hopup:false, ammo:2, filename:"sentinel.png"}); weapons.push({name:"CHARGE RIFLE", laser:false, barrel:false, bolt:false, mag:[], optic:[1, 2, 3, 4, 5, 6, 7, 8 ,9], stock_standard:false, stock_sniper:true, hopup:[], multi_hopup:false, ammo:2, filename:"chargerifle.png"}); -weapons.push({name:"MASTIFF SHOTGUN", laser:false, barrel:false, bolt:true, mag:[], optic:[0, 1, 2, 3, 4], stock_standard:false, stock_sniper:false, hopup:[], multi_hopup:false, ammo:4, filename:"mastiff.png"}); -weapons.push({name:"PEACEKEEPER", laser:false, barrel:false, bolt:true, mag:[], optic:[0, 1, 2, 3, 4], stock_standard:false, stock_sniper:false, hopup:[], multi_hopup:false, ammo:4, filename:"peacekeeper.png"}); +weapons.push({name:"MASTIFF SHOTGUN", laser:false, barrel:false, bolt:true, mag:[], optic:[0, 1, 2, 3, 4], stock_standard:true, stock_sniper:false, hopup:[], multi_hopup:false, ammo:4, filename:"mastiff.png"}); +weapons.push({name:"PEACEKEEPER", laser:false, barrel:false, bolt:true, mag:[], optic:[0, 1, 2, 3, 4], stock_standard:true, stock_sniper:false, hopup:[], multi_hopup:false, ammo:4, filename:"peacekeeper.png"}); weapons.push({name:"EVA-8 AUTO", laser:false, barrel:false, bolt:true, mag:[], optic:[0, 1, 2, 3, 4], stock_standard:true, stock_sniper:false, hopup:[5], multi_hopup:false, ammo:4, filename:"eva8.png"}); -weapons.push({name:"MOZAMBIQUE SHOTGUN", laser:false, barrel:false, bolt:true, mag:[], optic:[0, 1, 2, 3, 4], stock_standard:false, stock_sniper:false, hopup:[], multi_hopup:false, ammo:4, filename:"mozambique.png"}); -weapons.push({name:"P2020", laser:true, barrel:false, bolt:false, mag:[0], optic:[0, 1, 2, 3, 4], stock_standard:false, stock_sniper:false, hopup:[], multi_hopup:false, ammo:0, filename:"p2020.png"}); +weapons.push({name:"MOZAMBIQUE SHOTGUN", laser:false, barrel:false, bolt:true, mag:[], optic:[0, 1, 2, 3, 4], stock_standard:false, stock_sniper:false, hopup:[7], multi_hopup:false, ammo:4, filename:"mozambique.png"}); +weapons.push({name:"P2020", laser:true, barrel:false, bolt:false, mag:[0], optic:[0, 1, 2, 3, 4], stock_standard:false, stock_sniper:false, hopup:[7], multi_hopup:false, ammo:0, filename:"p2020.png"}); function zeroPad(nr,base) { @@ -355,7 +356,7 @@ function randomize_attachments_single(weapon) // Shotgun Bolt if (weapon.bolt == true) { - pick = Math.floor(Math.random() * 4); + pick = Math.floor(Math.random() * 5); result.push(pick); result.push("images/attachments/bolt.png"); if (pick != 0)