summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+github@schneefux.xyz>2018-01-29 18:25:10 +0100
committerGitHub <noreply@github.com>2018-01-29 18:25:10 +0100
commit4a3c2c744290bef656dc1ca3aabbaed15416ba1a (patch)
treefd31cb25e480517b26245c6322bb9031ab6a4b1f
parent05a19fb2a801152bd54431ca3ac6e5493b0c24dc (diff)
parent124a536c785c273389f40bd6c758b745a680d9ab (diff)
downloadorm-4a3c2c744290bef656dc1ca3aabbaed15416ba1a.tar.gz
orm-4a3c2c744290bef656dc1ca3aabbaed15416ba1a.zip
Merge pull request #1 from vainglorygame/feature/5v5-modes
5v5 mappings
-rw-r--r--mappings_source.js10
-rw-r--r--models/participant_phases.js330
2 files changed, 18 insertions, 322 deletions
diff --git a/mappings_source.js b/mappings_source.js
index f02a098..831da1b 100644
--- a/mappings_source.js
+++ b/mappings_source.js
@@ -639,5 +639,13 @@ module.exports = {
"casual_aral": "br",
"private_party_aral_match": "priv_br",
"blitz_rounds_pvp_casual": "onslaught",
- "private_party_blitz_rounds_match": "priv_onslaught"
+ "private_party_blitz_rounds_match": "priv_onslaught",
+ "*Item_VisionTotem*": "Scout Cam",
+ "*Item_TotemMultiplier*": "Multi-Cam",
+ "*Item_TotemEnhancer*": "Boosted Cam",
+ "*Item_TotemBuffer*": "Buffed Cam",
+ "*Item_FlareGun_Beta*": "Flare Gun beta",
+ "*Item_WarpGenerator*": "Teleporter Boots",
+ "5v5_pvp_casual": "5v5_casual",
+ "5v5_pvp_ranked": "5v5_ranked"
}
diff --git a/models/participant_phases.js b/models/participant_phases.js
index 361acbf..1ee4c89 100644
--- a/models/participant_phases.js
+++ b/models/participant_phases.js
@@ -32,215 +32,19 @@ module.exports = function(sequelize, DataTypes) {
type: DataTypes.CHAR(36),
allowNull: false
},
- kills: {
- type: DataTypes.INTEGER(5).UNSIGNED,
- allowNull: true
- },
- deaths: {
- type: DataTypes.INTEGER(5).UNSIGNED,
- allowNull: true
- },
- assists: {
- type: DataTypes.INTEGER(5).UNSIGNED,
- allowNull: true
- },
- farm: {
- type: DataTypes.INTEGER(8).UNSIGNED,
- allowNull: true
- },
- minion_kills: {
- type: DataTypes.INTEGER(5).UNSIGNED,
- allowNull: true
- },
- jungle_kills: {
- type: DataTypes.INTEGER(5).UNSIGNED,
- allowNull: true
- },
- non_jungle_minion_kills: {
- type: DataTypes.INTEGER(5).UNSIGNED,
- allowNull: true
- },
- crystal_mine_captures: {
- type: DataTypes.INTEGER(5).UNSIGNED,
- allowNull: true
- },
- gold_mine_captures: {
- type: DataTypes.INTEGER(5).UNSIGNED,
- allowNull: true
- },
- kraken_captures: {
- type: DataTypes.INTEGER(5).UNSIGNED,
- allowNull: true
- },
- turret_captures: {
- type: DataTypes.INTEGER(5).UNSIGNED,
- allowNull: true
- },
- gold: {
- type: DataTypes.INTEGER(8).UNSIGNED,
- allowNull: true
- },
- dmg_true_hero: {
- type: "DOUBLE",
- allowNull: true
- },
- dmg_true_kraken: {
- type: "DOUBLE",
- allowNull: true
- },
- dmg_true_turret: {
- type: "DOUBLE",
- allowNull: true
- },
- dmg_true_vain_turret: {
- type: "DOUBLE",
- allowNull: true
- },
- dmg_true_others: {
- type: "DOUBLE",
- allowNull: true
- },
- dmg_dealt_hero: {
- type: "DOUBLE",
- allowNull: true
- },
- dmg_dealt_kraken: {
- type: "DOUBLE",
- allowNull: true
- },
- dmg_dealt_turret: {
- type: "DOUBLE",
- allowNull: true
- },
- dmg_dealt_vain_turret: {
- type: "DOUBLE",
- allowNull: true
- },
- dmg_dealt_others: {
- type: "DOUBLE",
- allowNull: true
- },
- dmg_rcvd_dealt_hero: {
- type: "DOUBLE",
- allowNull: true
- },
- dmg_rcvd_true_hero: {
- type: "DOUBLE",
- allowNull: true
- },
- dmg_rcvd_dealt_others: {
- type: "DOUBLE",
- allowNull: true
- },
- dmg_rcvd_true_others: {
- type: "DOUBLE",
- allowNull: true
- },
- ability_a_level: {
- type: DataTypes.INTEGER(3).UNSIGNED,
- allowNull: true
- },
- ability_b_level: {
- type: DataTypes.INTEGER(3).UNSIGNED,
- allowNull: true
- },
- ability_c_level: {
- type: DataTypes.INTEGER(3).UNSIGNED,
- allowNull: true
- },
- hero_level: {
- type: DataTypes.INTEGER(3).UNSIGNED,
- allowNull: true
- },
- kda_ratio: {
- type: "DOUBLE(5,5)",
- allowNull: true
- },
- kill_participation: {
- type: "DOUBLE(5,5)",
- allowNull: true
- },
- cs_per_min: {
- type: "DOUBLE(7,5)",
- allowNull: true
- },
- kills_per_min: {
- type: "DOUBLE(6,5)",
- allowNull: true
- },
- impact_score: {
- type: "DOUBLE",
- allowNull: true
- },
- objective_score: {
- type: "DOUBLE",
- allowNull: true
- },
- damage_cp_score: {
- type: "DOUBLE",
- allowNull: true
- },
- damage_wp_score: {
- type: "DOUBLE",
- allowNull: true
- },
- sustain_score: {
- type: "DOUBLE",
- allowNull: true
- },
- farm_lane_score: {
- type: "DOUBLE",
- allowNull: true
- },
- kill_score: {
- type: "DOUBLE",
- allowNull: true
- },
- objective_lane_score: {
- type: "DOUBLE",
- allowNull: true
- },
- farm_jungle_score: {
- type: "DOUBLE",
- allowNull: true
- },
- peel_score: {
- type: "DOUBLE",
- allowNull: true
- },
- kill_assist_score: {
- type: "DOUBLE",
- allowNull: true
- },
- objective_jungle_score: {
- type: "DOUBLE",
- allowNull: true
- },
- vision_score: {
- type: "DOUBLE",
- allowNull: true
- },
- heal_score: {
- type: "DOUBLE",
- allowNull: true
- },
- assist_score: {
- type: "DOUBLE",
- allowNull: true
- },
- utility_score: {
+ dmg_true: {
type: "DOUBLE",
allowNull: true
},
- synergy_score: {
+ dmg_dealt: {
type: "DOUBLE",
allowNull: true
},
- build_score: {
+ dmg_rcvd_dealt: {
type: "DOUBLE",
allowNull: true
},
- offmeta_score: {
+ dmg_rcvd_true: {
type: "DOUBLE",
allowNull: true
},
@@ -256,139 +60,23 @@ module.exports = function(sequelize, DataTypes) {
type: DataTypes.INTEGER(11),
allowNull: true
},
- items: {
- type: "BLOB",
- allowNull: false
- },
- item_grants: {
- type: "BLOB",
- allowNull: false
- },
- item_grants_inorder: {
- type: "BLOB",
- allowNull: true
- },
- item_sells: {
- type: "BLOB",
- allowNull: false
- },
- ability_a_use: {
- type: DataTypes.INTEGER(5).UNSIGNED,
- allowNull: false
- },
- ability_b_use: {
- type: DataTypes.INTEGER(5).UNSIGNED,
- allowNull: false
- },
- ability_c_use: {
- type: DataTypes.INTEGER(5).UNSIGNED,
- allowNull: false
- },
- ability_a_damage_true: {
- type: DataTypes.INTEGER(10).UNSIGNED,
- allowNull: false
- },
- ability_a_damage_dealt: {
- type: DataTypes.INTEGER(10).UNSIGNED,
- allowNull: false
- },
- ability_b_damage_true: {
- type: DataTypes.INTEGER(10).UNSIGNED,
- allowNull: false
- },
- ability_b_damage_dealt: {
- type: DataTypes.INTEGER(10).UNSIGNED,
- allowNull: false
- },
- ability_c_damage_true: {
- type: DataTypes.INTEGER(10).UNSIGNED,
- allowNull: false
- },
- ability_c_damage_dealt: {
- type: DataTypes.INTEGER(10).UNSIGNED,
- allowNull: false
- },
- ability_perk_damage_true: {
- type: DataTypes.INTEGER(10).UNSIGNED,
- allowNull: false
- },
- ability_perk_damage_dealt: {
- type: DataTypes.INTEGER(10).UNSIGNED,
- allowNull: false
- },
- ability_aa_damage_true: {
- type: DataTypes.INTEGER(10).UNSIGNED,
- allowNull: false
- },
- ability_aa_damage_dealt: {
- type: DataTypes.INTEGER(10).UNSIGNED,
- allowNull: false
- },
- ability_aacrit_damage_true: {
- type: DataTypes.INTEGER(10).UNSIGNED,
- allowNull: false
- },
- ability_aacrit_damage_dealt: {
- type: DataTypes.INTEGER(10).UNSIGNED,
- allowNull: false
- },
- item_uses: {
- type: "BLOB",
- allowNull: false
- },
- player_damage: {
- type: "BLOB",
- allowNull: false
- },
- heal_heal_hero: {
- type: "DOUBLE",
- allowNull: true
- },
- heal_healed_hero: {
- type: "DOUBLE",
- allowNull: true
- },
- heal_heal_ally: {
- type: "DOUBLE",
- allowNull: true
- },
- heal_healed_ally: {
- type: "DOUBLE",
- allowNull: true
- },
- heal_heal_other: {
- type: "DOUBLE",
- allowNull: true
- },
- heal_healed_other: {
- type: "DOUBLE",
- allowNull: true
- },
- heal_rcvd_heal_hero: {
- type: "DOUBLE",
- allowNull: true
- },
- heal_rcvd_healed_hero: {
- type: "DOUBLE",
- allowNull: true
- },
- heal_rcvd_healed_vamp: {
+ heal_heal: {
type: "DOUBLE",
allowNull: true
},
- heal_rcvd_heal_ally: {
+ heal_healed: {
type: "DOUBLE",
allowNull: true
},
- heal_rcvd_healed_ally: {
+ heal_rcvd_heal: {
type: "DOUBLE",
allowNull: true
},
- heal_rcvd_heal_other: {
+ heal_rcvd_healed: {
type: "DOUBLE",
allowNull: true
},
- heal_rcvd_healed_other: {
+ heal_rcvd_vamp: {
type: "DOUBLE",
allowNull: true
}