diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-05-16 16:34:04 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-05-16 16:34:04 +0200 |
| commit | 5403b5dac80a519c2bbefa11e2145af9ab0ed940 (patch) | |
| tree | be50fc58276054c2fe21f19d23ac8580dce5955b /models | |
| parent | 1dc5153a785732b68e77a5a74c4ece1607a28b68 (diff) | |
| download | orm-5403b5dac80a519c2bbefa11e2145af9ab0ed940.tar.gz orm-5403b5dac80a519c2bbefa11e2145af9ab0ed940.zip | |
telemetry: add damage rcvd
Diffstat (limited to 'models')
| -rw-r--r-- | models/participant_phases.js | 60 | ||||
| -rw-r--r-- | models/participant_stats.js | 16 |
2 files changed, 56 insertions, 20 deletions
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', |
