mnml/client/src/test.game.js
2019-07-02 12:23:35 +10:00

610 lines
17 KiB
JavaScript

/* eslint-disable */
function testGame(uuid) {
return {
"id": "667ad344-dc76-40b9-bb9c-0d20f0f7f5d2",
"player_constructs": 3,
"player_num": 2,
"players": [
{
"id": "8552e0bf-340d-4fc8-b6fc-3d56b68fe2a1",
"name": "inverted problem",
"vbox": {
"bits": 6,
"free": [
[],
[
"Debuff",
"Block",
"Buff"
],
[
"Speed",
"Power",
"Life",
"Power",
"Life",
"Life"
]
],
"bound": []
},
"score": {
"wins": 0,
"losses": 0
},
"constructs": [
{
"id": "82e8b940-411c-42a1-8fc2-484ec7207734",
"account": "8552e0bf-340d-4fc8-b6fc-3d56b68fe2a1",
"red_damage": {
"base": 256,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "RedDamage"
},
"red_life": {
"base": 0,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "RedLife"
},
"blue_life": {
"base": 0,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "BlueLife"
},
"blue_damage": {
"base": 256,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "BlueDamage"
},
"green_damage": {
"base": 256,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "GreenDamage"
},
"speed": {
"base": 128,
"value": 128,
"max": Math.floor(Math.random() * 10000),
"stat": "Speed"
},
"green_life": {
"base": 1024,
"value": 1024,
"max": Math.floor(Math.random() * 10000),
"stat": "GreenLife"
},
"evasion": {
"base": 0,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "Evasion"
},
"skills": [
{
"skill": "Attack",
"self_targeting": false,
"cd": null
},
{
"skill": "Electrify",
"self_targeting": true,
"cd": 1
}
],
"effects": [
],
"specs": [],
"colours": {
"red": 0,
"green": 0,
"blue": 2
},
"name": "Uc4L3lun"
},
{
"id": "96ca4a0e-fed2-4ea2-9ec5-ae308f8dde4b",
"account": "8552e0bf-340d-4fc8-b6fc-3d56b68fe2a1",
"red_damage": {
"base": 256,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "RedDamage"
},
"red_life": {
"base": 0,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "RedLife"
},
"blue_life": {
"base": 0,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "BlueLife"
},
"blue_damage": {
"base": 256,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "BlueDamage"
},
"green_damage": {
"base": 256,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "GreenDamage"
},
"speed": {
"base": 128,
"value": 128,
"max": Math.floor(Math.random() * 10000),
"stat": "Speed"
},
"green_life": {
"base": 1024,
"value": 1024,
"max": Math.floor(Math.random() * 10000),
"stat": "GreenLife"
},
"evasion": {
"base": 0,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "Evasion"
},
"skills": [
{
"skill": "Attack",
"self_targeting": false,
"cd": null
},
{
"skill": "Decay",
"self_targeting": false,
"cd": 1
}
],
"effects": [{
effect: "Decay",
duration: 2,
}],
"specs": [],
"colours": {
"red": 0,
"green": 1,
"blue": 1
},
"name": "CzXWogZB"
},
{
"id": "ea302c35-d326-475c-a867-8ad5b162165a",
"account": "8552e0bf-340d-4fc8-b6fc-3d56b68fe2a1",
"red_damage": {
"base": 256,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "RedDamage"
},
"red_life": {
"base": 0,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "RedLife"
},
"blue_life": {
"base": 0,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "BlueLife"
},
"blue_damage": {
"base": 256,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "BlueDamage"
},
"green_damage": {
"base": 256,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "GreenDamage"
},
"speed": {
"base": 128,
"value": 128,
"max": Math.floor(Math.random() * 10000),
"stat": "Speed"
},
"green_life": {
"base": 1024,
"value": 1024,
"max": Math.floor(Math.random() * 10000),
"stat": "GreenLife"
},
"evasion": {
"base": 0,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "Evasion"
},
"skills": [
{
"skill": "Attack",
"self_targeting": false,
"cd": null
},
{
"skill": "Electrify",
"self_targeting": true,
"cd": 1
}
],
"effects": [],
"specs": [],
"colours": {
"red": 0,
"green": 0,
"blue": 2
},
"name": "18taUjOz"
}
],
"bot": true,
"ready": true,
"warnings": 0
},
{
"id": uuid,
"name": "ntr",
"vbox": {
"bits": 18,
"free": [
[
"Red",
"Blue",
"Green",
"Green",
"Green",
"Red"
],
[
"Attack",
"Attack",
"Debuff",
"Buff",
"Buff",
"Block"
],
[
"Speed",
"Power",
"Speed",
"Life",
"Speed",
"Speed"
]
],
"bound": []
},
"score": {
"wins": 0,
"losses": 0
},
"constructs": [
{
"id": "3aa0f284-1e1b-4054-b38a-b2d50db471bd",
"account": uuid,
"red_damage": {
"base": 256,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "RedDamage"
},
"red_life": {
"base": 0,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "RedLife"
},
"blue_life": {
"base": 0,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "BlueLife"
},
"blue_damage": {
"base": 256,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "BlueDamage"
},
"green_damage": {
"base": 256,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "GreenDamage"
},
"speed": {
"base": 128,
"value": 128,
"max": Math.floor(Math.random() * 10000),
"stat": "Speed"
},
"green_life": {
"base": 1024,
"value": 1024,
"max": Math.floor(Math.random() * 10000),
"stat": "GreenLife"
},
"evasion": {
"base": 0,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "Evasion"
},
"skills": [
{
"skill": "Attack",
"self_targeting": false,
"cd": null
},
{
"skill": "Decay",
"self_targeting": false,
"cd": 2
},
{
"skill": "Sustain",
"self_targeting": false,
"cd": null
}
],
"effects": [
{
effect: "Sustain",
duration: 2,
},
{
effect: "Release",
duration: 2,
},
],
"specs": [],
"colours": {
"red": 0,
"green": 0,
"blue": 0
},
"name": "zzz"
},
{
"id": "50e5d94e-8ebe-495c-a916-3eb509ff4683",
"account": uuid,
"red_damage": {
"base": 256,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "RedDamage"
},
"red_life": {
"base": 0,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "RedLife"
},
"blue_life": {
"base": 0,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "BlueLife"
},
"blue_damage": {
"base": 256,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "BlueDamage"
},
"green_damage": {
"base": 256,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "GreenDamage"
},
"speed": {
"base": 128,
"value": 128,
"max": Math.floor(Math.random() * 10000),
"stat": "Speed"
},
"green_life": {
"base": 1024,
"value": 1024,
"max": Math.floor(Math.random() * 10000),
"stat": "GreenLife"
},
"evasion": {
"base": 0,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "Evasion"
},
"skills": [
{
"skill": "Attack",
"self_targeting": false,
"cd": null
},
{
"skill": "RAAAAAAAR",
"self_targeting": false,
"cd": null
},
{
"skill": "GAAAAAAAAAR",
"self_targeting": false,
"cd": null
}
],
"effects": [{
effect: "Release",
duration: 2,
}],
"specs": [],
"colours": {
"red": 0,
"green": 0,
"blue": 0
},
"name": "kaast"
},
{
"id": "5d49fe65-27f0-4372-90a3-334ef906a0f5",
"account": uuid,
"red_damage": {
"base": 256,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "RedDamage"
},
"red_life": {
"base": 0,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "RedLife"
},
"blue_life": {
"base": 0,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "BlueLife"
},
"blue_damage": {
"base": 256,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "BlueDamage"
},
"green_damage": {
"base": 256,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "GreenDamage"
},
"speed": {
"base": 128,
"value": 128,
"max": Math.floor(Math.random() * 10000),
"stat": "Speed"
},
"green_life": {
"base": 1024,
"value": 1024,
"max": Math.floor(Math.random() * 10000),
"stat": "GreenLife"
},
"evasion": {
"base": 0,
"value": Math.floor(Math.random() * 10000),
"max": Math.floor(Math.random() * 10000),
"stat": "Evasion"
},
"skills": [
{
"skill": "Attack",
"self_targeting": false,
"cd": null
}
],
"effects": [{
effect: "Decay",
duration: 2,
}],
"specs": [],
"colours": {
"red": 0,
"green": 0,
"blue": 0
},
"name": "muji"
}
],
"bot": false,
"ready": false,
"warnings": 0
}
],
"phase": "Skill",
"stack": [
{
"id": "15ef2068-0eec-4eda-b2b2-5abe78e4ff9a",
"source_player_id": "8552e0bf-340d-4fc8-b6fc-3d56b68fe2a1",
"source_construct_id": "96ca4a0e-fed2-4ea2-9ec5-ae308f8dde4b",
"target_construct_id": "50e5d94e-8ebe-495c-a916-3eb509ff4683",
"skill": "Attack",
"speed": 0,
"resolutions": []
},
{
"id": "4fbe9c95-8f40-4f65-9f0e-b77d5eb64b17",
"source_player_id": "8552e0bf-340d-4fc8-b6fc-3d56b68fe2a1",
"source_construct_id": "ea302c35-d326-475c-a867-8ad5b162165a",
"target_construct_id": "3aa0f284-1e1b-4054-b38a-b2d50db471bd",
"skill": "Attack",
"speed": 0,
"resolutions": []
},
{
"id": "c2f398b8-6f5a-4fda-8c8d-b1be53819040",
"source_player_id": "8552e0bf-340d-4fc8-b6fc-3d56b68fe2a1",
"source_construct_id": "82e8b940-411c-42a1-8fc2-484ec7207734",
"target_construct_id": "50e5d94e-8ebe-495c-a916-3eb509ff4683",
"skill": "Attack",
"speed": 0,
"resolutions": []
},
{
"id": "6bc9c3ce-587e-4bbe-ac81-2bc536ebbce4",
"source_player_id": uuid,
"source_construct_id": "5d49fe65-27f0-4372-90a3-334ef906a0f5",
"target_construct_id": "82e8b940-411c-42a1-8fc2-484ec7207734",
"skill": "Attack",
"speed": 0,
"resolutions": []
},
{
"id": "9d2fc857-51c7-4640-a17c-a08496480830",
"source_player_id": uuid,
"source_construct_id": "3aa0f284-1e1b-4054-b38a-b2d50db471bd",
"target_construct_id": "50e5d94e-8ebe-495c-a916-3eb509ff4683",
"skill": "Attack",
"speed": 0,
"resolutions": []
},
{
"id": "e1bd2d77-181a-4f2d-a4f6-78c9ad3c5b3b",
"source_player_id": uuid,
"source_construct_id": "50e5d94e-8ebe-495c-a916-3eb509ff4683",
"target_construct_id": "96ca4a0e-fed2-4ea2-9ec5-ae308f8dde4b",
"skill": "Attack",
"speed": 0,
"resolutions": []
}
],
"resolved": [],
"log": [
"inverted problem has joined the game. [CzXWogZB, 18taUjOz, Uc4L3lun]",
"ntr has joined the game. [zzz, kaast, muji]",
"Game starting...",
"<Skill Phase>"
],
"instance": "5dcd5f1f-276d-41af-9a11-83e8912bad45",
"phase_end": "2019-05-03T06:52:26.494331765Z"
};
}
module.exports = testGame;