Compare commits

..

13 Commits

Author SHA1 Message Date
DWW
6bd14cbc62 Added simple S20 changes 2024-02-19 19:37:11 +02:00
DWW
484d304251 Updated for S19. Fixed some strings 2024-02-03 21:12:37 +02:00
DWW
1572411cd3 Added S18 Changes 2023-09-01 00:09:00 +03:00
DWW
063e96475f Fixed RE-45 Missing Hammerpoint Rounds 2023-07-20 00:31:19 +03:00
DWW
3c5d5c2f59 Added S17 changes 2023-07-02 22:12:08 +03:00
DWW
03cebf379b Added S16 Changes 2023-02-24 16:28:50 +02:00
DWW
2641e02c4f Added S15 Changes 2022-11-14 21:51:23 +02:00
DWW
08cc0d3e2a Added tiles.png 2022-09-25 22:13:56 +03:00
DWW
11823f8fbb Fixed Prowler not having Laser Sight 2022-08-12 20:21:52 +03:00
DWW
89ddb7e677 Fixed Alternator missing Laser Sight 2022-08-10 22:41:12 +03:00
DWW
2d9180fe85 Added Season 14 Changes 2022-08-10 22:38:19 +03:00
DWW
9a625083dd Added Newcastle. Reordered Weapons. Fixed Dual Shell Image. 2022-05-10 23:39:19 +03:00
DWW
92bf22df6d Added missing Kinetic Feeder image 2022-03-28 00:37:02 +03:00
39 changed files with 120 additions and 61 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.9 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 26 KiB

BIN
images/legends/class/04.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 20 KiB

BIN
images/legends/icon/20.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

BIN
images/legends/icon/21.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
images/legends/icon/22.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
images/legends/icon/23.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
images/legends/icon/24.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

BIN
images/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
images/tiles.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 KiB

BIN
images/weapons/nemesis.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View File

@@ -8,7 +8,16 @@
</head>
<body>
<center>
<h1>APEX LEGENDS RANDOMIZER</h1>
<table>
<tr>
<td>
<img src="images/logo.png" height=100em/>
</td>
<td>
<h1>APEX LEGENDS RANDOMIZER</h1>
</td>
</tr>
</table>
</center>
<hr>
<!-- All Section -->

168
script.js
View File

@@ -18,7 +18,12 @@ var legend_names = [
"VALKYRIE",
"SEER",
"ASH",
"MAD MAGGIE"
"MAD MAGGIE",
"NEWCASTLE",
"VANTAGE",
"CATALYST",
"BALLISTIC",
"CONDUIT"
];
var legend_descriptions = [
@@ -35,13 +40,18 @@ var legend_descriptions = [
"SURVEILLANCE EXPERT",
"SYNTHETIC NIGHTMARE",
"TRANSLOCATING THIEF",
"BASE OF FIRE",
"AMPED MODDER",
"GRAVITATIONAL MANIPULATOR",
"EXPLOSIVES ENTHUSIAST",
"WINGED AVENGER",
"AMBUSH ARTIST",
"INCISIVE INSIGATOR",
"REBEL WARLORD"
"REBEL WARLORD",
"MOBILE GUARDIAN",
"SURVIVALIST SNIPER",
"DEFENSIVE CONJURER",
"REFINED GUNSLINGER",
"SHIELD HEALER"
];
var legend_passives = [
@@ -56,7 +66,7 @@ var legend_passives = [
"SWIFT MEND",
"SPARK OF GENIUS",
"NEUROLINK",
"STALKER",
"ASSASSIN'S INSTINCT",
"EYE FOR QUALITY",
"MODDED LOADER",
"SPACEWALK",
@@ -64,7 +74,12 @@ var legend_passives = [
"VTOL JETS",
"FOCUS OF ATTENTION",
"MARKED FOR DEATH",
"WARLORD'S IRE"
"WARLORD'S IRE",
"RETRIEVE THE WOUNDED",
"SPOTTER'S LENS",
"BARRICADE",
"SLING",
"SAVIOR'S SPEED"
];
var legend_tacticals = [
@@ -79,7 +94,7 @@ var legend_tacticals = [
"STIM",
"PERIMETER SECURITY",
"SURVEILLANCE DRONE",
"SILENCE",
"SHADOW POUNCE",
"BURGLAR'S BEST FRIEND",
"AMPED COVER",
"GRAVITY LIFT",
@@ -87,7 +102,12 @@ var legend_tacticals = [
"MISSILE SWARM",
"HEART SEEKER",
"ARC SNARE",
"RIOT DRILL"
"RIOT DRILL",
"MOBILE SHIELD",
"ECHO RELOCATION",
"PIERCING SPIKES",
"WHISTLER",
"RADIANT TRANSFER"
];
var legend_ultimates = [
@@ -102,43 +122,48 @@ var legend_ultimates = [
"LAUNCH PAD",
"INTERCEPTION PYLON",
"DRONE EMP",
"DEATH TOTEM",
"FORGED SHADOWS",
"BLACK MARKET BOUTIQUE",
"EMPLACED MINIGUN \"SHEILA\"",
"MOBILE MINIGUN \"SHEILA\"",
"BLACK HOLE",
"THE MOTHERLODE",
"SKYWARD DIVE",
"EXHIBIT",
"PHASE BREACH",
"WRECKING BALL"
"WRECKING BALL",
"CASTLE WALL",
"SNIPER'S MARK",
"DARK VEIL",
"TEMPEST",
"ENERGY BARRICADE"
];
var legend_classes = [0, 1, 2, 0, 3, 3, 1, 3, 3, 1, 0, 3, 2, 1, 3, 3, 0, 0, 3, 3];
var legend_mods = [-1, 0, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1];
var legend_classes_txt = ["RECON", "DEFENSE", "SUPPORT", "OFFENSE"];
var legend_classes = [2, 3, 3, 1, 1, 0, 4, 3, 1, 4, 2, 1, 3, 4, 1, 0, 1, 2, 0, 0, 3, 2, 4, 0, 3];
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, -1, -1];
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"];
var optic_level = [4, 1, 2, 1, 2, 3, 3, 2, 3, 4];
var hopup_txt = [
"SELECTFIRE RECEIVER",
"PRECISION CHOKE",
"SKULL&shy;PIERCER RIFLING",
"TURBO&shy;CHARGER",
"DISRUPTOR ROUNDS",
"DOUBLE TAP TRIGGER",
"ANVIL RECEIVER",
"HAMMER&shy;POINT ROUNDS",
"GRAFFITI MOD",
"QUICKDRAW HOLSTER",
"SHATTER CAPS",
"DEADEYE'S TEMPO",
"BOOSTED LOADER",
"DUAL SHELL",
"KINETIC FEEDER"
"SELECTFIRE RECEIVER", //0
"PRECISION CHOKE", //1
"SKULL&shy;PIERCER RIFLING", //2
"TURBO&shy;CHARGER", //3
"DISRUPTOR ROUNDS", //4
"DOUBLE TAP TRIGGER", //5
"ANVIL RECEIVER", //6
"HAMMER&shy;POINT ROUNDS", //7
"GRAFFITI MOD", //8
"QUICKDRAW HOLSTER", //9
"SHATTER CAPS", //10
"DEADEYE'S TEMPO", //11
"BOOSTED LOADER", //12
"DUAL SHELL", //13
"KINETIC FEEDER" //14
];
var hopup_level = [3, 3, 4, 4, 3, 3, 4, 3, 1, 3, 3, 3, 4, 3, 3];
var hopup_level = [3, 3, 4, 4, 4, 4, 4, 4, 1, 3, 3, 3, 4, 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"];
@@ -150,34 +175,35 @@ var weapon2 = -1;
// Longest - KRABER
// Tallest - RE-45
weapons.push({name:"VK-47 FLATLINE", 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", 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:"C.A.R. SMG", barrel: true, 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:"ALTERNATOR SMG", barrel:true, 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:"L-STAR EMG", 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:"RAMPAGE", 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", 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:"30-30 REPEATER", barrel:false, bolt:false, mag:[1], optic:[1, 2, 3, 4, 5, 6], stock_standard:false, stock_sniper:true, hopup:[10, 13], multi_hopup:false, ammo:1, filename:"3030.png"});
weapons.push({name:"TRIPLE TAKE", barrel:false, bolt:false, mag:[3], optic:[1, 2, 3, 4, 5, 6], stock_standard:false, stock_sniper:true, hopup:[14], multi_hopup:false, ammo:3, filename:"tripletake.png"});
weapons.push({name:"DEVOTION LMG", 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:"WINGMAN", barrel:false, bolt:false, mag:[1], optic:[0, 1, 2, 3, 4], stock_standard:false, stock_sniper:false, hopup:[12], multi_hopup:false, ammo:1, filename:"wingman.png"});
weapons.push({name:"BOCEK COMPOUND BOW", barrel:false, bolt:false, mag:[], optic:[1, 2, 3, 4, 5], stock_standard:false, stock_sniper:false, hopup:[10, 11], multi_hopup:true, ammo:5, filename:"bocek.png"});
weapons.push({name:"HEMLOK BURST AR", barrel:true, bolt:false, mag:[1], optic:[1, 2, 3, 4, 5, 6], stock_standard:true, stock_sniper:false, hopup:[12], multi_hopup:false, ammo:1, filename:"hemlok.png"});
weapons.push({name:"PROWLER BURST PDW", barrel:false, bolt:false, mag:[1], optic:[0, 1, 2, 3, 4], stock_standard:true, stock_sniper:false, hopup:[], multi_hopup:false, ammo:1, filename:"prowler.png"});
weapons.push({name:"RE-45 AUTO", barrel:true, bolt:false, mag:[0], optic:[0, 1, 2, 3, 4], stock_standard:false, stock_sniper:false, hopup:[7], multi_hopup:false, ammo:0, filename:"re45.png"});
weapons.push({name:"R-99 SMG", barrel:true, 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:"EVA-8 AUTO", barrel:false, bolt:true, mag:[], optic:[0, 1, 2, 3, 4], stock_standard:false, stock_sniper:false, hopup:[], multi_hopup:false, ammo:4, filename:"eva8.png"});
weapons.push({name:"MASTIFF SHOTGUN", barrel:false, bolt:true, mag:[], optic:[0, 1, 2, 3, 4], stock_standard:false, stock_sniper:false, hopup:[13], multi_hopup:false, ammo:4, filename:"mastiff.png"});
weapons.push({name:"PEACEKEEPER", barrel:false, bolt:true, mag:[], optic:[0, 1, 2, 3, 4], stock_standard:false, stock_sniper:false, hopup:[14], multi_hopup:false, ammo:4, filename:"peacekeeper.png"});
weapons.push({name:"MOZAMBIQUE SHOTGUN", 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", 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"});
weapons.push({name:"LONGBOW DMR", barrel:true, 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:"longbow.png"});
weapons.push({name:"SENTINEL", barrel:false, bolt:false, mag:[2], optic:[1, 2, 3, 4, 5, 6, 7, 8 ,9], stock_standard:false, stock_sniper:true, hopup:[11], multi_hopup:false, ammo:2, filename:"sentinel.png"});
weapons.push({name:"CHARGE RIFLE", 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:"G7 SCOUT", barrel:true, bolt:false, mag:[0], optic:[1, 2, 3, 4, 5, 6], stock_standard:false, stock_sniper:true, hopup:[], multi_hopup:false, ammo:0, filename:"g7.png"});
//weapons.push({name:"VOLT SMG", barrel:true, bolt:false, mag:[3], optic:[0, 1, 2, 3, 4], stock_standard:true, stock_sniper:false, hopup:[], multi_hopup:false, ammo:3, filename:"volt.png"});
//weapons.push({name:"M600 SPITFIRE", 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:"spitfire.png"});
//weapons.push({name:"KRABER .50-CAL SNIPER", barrel:false, bolt:true, mag:[], optic:[1, 2, 3, 4, 5, 6, 7, 8 ,9], stock_standard:false, stock_sniper:true, hopup:[], multi_hopup:false, ammo:2, filename:"kraber.png"});
//weapons.push({name:"WINGMAN", laser:false, barrel:false, bolt:false, mag:[2], optic:[0, 1, 2, 3, 4], stock_standard:false, stock_sniper:false, hopup:[2, 12], multi_hopup:false, ammo:2, filename:"wingman.png"});
weapons.push({name:"VOLT SMG", laser:false, barrel:true, bolt:false, mag:[3], optic:[1, 2, 3, 4], stock_standard:true, stock_sniper:false, hopup:[], multi_hopup:false, ammo:3, filename:"volt.png"});
weapons.push({name:"C.A.R. SMG", laser:false, barrel: false, bolt:false, mag:[1,0], optic:[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:[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:[1, 2, 3, 4], stock_standard:true, stock_sniper:false, hopup:[4], 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:[], 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: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:"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:"L-STAR EMG", laser:false, barrel:false, 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:"PROWLER BURST PDW", laser:true, barrel:false, bolt:false, mag:[1], optic:[1, 2, 3, 4], stock_standard:true, stock_sniper:false, hopup:[], multi_hopup:false, ammo:1, filename:"prowler.png"});
weapons.push({name:"RE-45 AUTO", 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:"re45.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:[], multi_hopup:false, ammo:0, filename:"g7.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"});
//weapons.push({name:"KRABER .50-CAL SNIPER", laser:false, barrel:false, bolt:true, mag:[], optic:[1, 2, 3, 4, 5, 6, 7, 8 ,9], stock_standard:false, stock_sniper:true, hopup:[], multi_hopup:false, ammo:2, filename:"kraber.png"});
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:[2], 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: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:[4], 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:[], 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:[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)
{
@@ -222,7 +248,15 @@ function randomize_legend()
img_str = "images/legends/passive/" + zeroPad(pick, 10) + ".png";
document.getElementById("passive_img").src = img_str;
img_str = "images/legends/tactical/" + zeroPad(pick, 10) + ".png";
img_str = "images/legends/tactical/" + zeroPad(pick, 10);
// Vantage Double Tactical
if (pick == 21)
{
var pick2 = Math.floor(Math.random() * 2);
img_str += "-";
img_str += pick2;
}
img_str += ".png";
document.getElementById("tactical_img").src = img_str;
img_str = "images/legends/ultimate/" + zeroPad(pick, 10) + ".png";
@@ -290,6 +324,22 @@ function randomize_attachments_single(weapon)
var result = [];
var pick;
// Laser
if (weapon.laser == true)
{
pick = Math.floor(Math.random() * 4);
result.push(pick);
result.push("images/attachments/laser.png");
if (pick != 0)
{
result.push("LASER SIGHT");
}
else
{
result.push("");
}
}
// Barrel
if (weapon.barrel == true)
{
@@ -316,7 +366,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)

View File

@@ -16,7 +16,7 @@ td
body
{
background-image: url("/images/tiles.png");
background-image: url("images/tiles.png");
/* width: 50em; */
margin: 0 auto;
font-family: TTSquaresCondensed;