From 5403b5dac80a519c2bbefa11e2145af9ab0ed940 Mon Sep 17 00:00:00 2001 From: schneefux Date: Tue, 16 May 2017 16:34:04 +0200 Subject: telemetry: add damage rcvd --- models/participant_phases.js | 60 +++++++++++++++++++++++++++++++++++++++++--- models/participant_stats.js | 16 ------------ 2 files changed, 56 insertions(+), 20 deletions(-) (limited to 'models') diff --git a/models/participant_phases.js b/models/participant_phases.js index 5ddc2af..dbaf1bd 100644 --- a/models/participant_phases.js +++ b/models/participant_phases.js @@ -76,22 +76,74 @@ module.exports = function(sequelize, DataTypes) { type: DataTypes.INTEGER(8).UNSIGNED, allowNull: true }, - hero_damage_true: { + dmg_true_hero: { type: "DOUBLE", allowNull: true }, - hero_damage_dealt: { + dmg_true_kraken: { type: "DOUBLE", allowNull: true }, - non_hero_damage: { + dmg_true_turret: { type: "DOUBLE", allowNull: true }, - non_hero_damage_dealt: { + 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 diff --git a/models/participant_stats.js b/models/participant_stats.js index f7cfbf2..fcc0870 100644 --- a/models/participant_stats.js +++ b/models/participant_stats.js @@ -183,22 +183,6 @@ module.exports = function(sequelize, DataTypes) { duration: { type: DataTypes.INTEGER(5).UNSIGNED, allowNull: false - }, - hero_damage_true: { - type: "DOUBLE", - allowNull: true - }, - hero_damage_dealt: { - type: "DOUBLE", - allowNull: true - }, - non_hero_damage: { - type: "DOUBLE", - allowNull: true - }, - non_hero_dps_damage: { - type: "DOUBLE", - allowNull: true } }, { tableName: 'participant_stats', -- cgit v1.3.1