Skip to content

Commit 744bfe1

Browse files
committed
PR Feedback round 1
1 parent d730815 commit 744bfe1

10 files changed

Lines changed: 4978 additions & 4963 deletions

File tree

assets/database/db.bin

14.5 KB
Binary file not shown.

assets/database/db.json

Lines changed: 1078 additions & 1076 deletions
Large diffs are not rendered by default.

assets/database/leftover_db.bin

48.7 KB
Binary file not shown.

assets/database/leftover_db.json

Lines changed: 3879 additions & 3877 deletions
Large diffs are not rendered by default.

sim/monk/brewmaster/TestBrewmaster.results

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2633,9 +2633,9 @@ dps_results: {
26332633
dps_results: {
26342634
key: "TestBrewmaster-AllItems-TyrannicalPrimalDiamond"
26352635
value: {
2636-
dps: 52227.77932
2637-
tps: 52227.77932
2638-
hps: 2605.6522
2636+
dps: 52167.46184
2637+
tps: 52167.46184
2638+
hps: 2597.71199
26392639
}
26402640
}
26412641
dps_results: {

sim/monk/touch_of_death.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func (monk *Monk) registerTouchOfDeath() {
1717
ActionID: actionID,
1818
SpellSchool: core.SpellSchoolPhysical,
1919
ProcMask: core.ProcMaskMeleeMHSpecial,
20-
Flags: core.SpellFlagMeleeMetrics | core.SpellFlagCannotBeDodged | core.SpellFlagIgnoreArmor | core.SpellFlagIgnoreAttackerModifiers | core.SpellFlagIgnoreTargetModifiers | SpellFlagBuilder | core.SpellFlagAPL,
20+
Flags: core.SpellFlagMeleeMetrics | core.SpellFlagCannotBeDodged | core.SpellFlagIgnoreArmor | core.SpellFlagIgnoreModifiers | SpellFlagBuilder | core.SpellFlagAPL,
2121
ClassSpellMask: MonkSpellTouchOfDeath,
2222
MaxRange: core.MaxMeleeRange,
2323

sim/monk/windwalker/TestWindwalker.results

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2577,9 +2577,9 @@ dps_results: {
25772577
dps_results: {
25782578
key: "TestWindwalker-AllItems-TyrannicalPrimalDiamond"
25792579
value: {
2580-
dps: 71325.3688
2581-
tps: 66136.76805
2582-
hps: 4895.42423
2580+
dps: 71196.71566
2581+
tps: 66022.8776
2582+
hps: 4879.00789
25832583
}
25842584
}
25852585
dps_results: {

tools/database/dbc/maps.go

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ func MapBonusStatIndexToStat(index int) (proto.Stat, bool) {
7171
return proto.Stat_StatRangedAttackPower, true
7272
case 41, 42, 45: // SpellHealing, SpellDamage, or SpellPower
7373
return proto.Stat_StatSpellPower, true
74+
case 47: // SpellPenetration
75+
return proto.Stat_StatPvpPowerRating, true
76+
case 35: // ResilienceRating
77+
return proto.Stat_StatPvpResilienceRating, true
7478
case 50: // ExtraArmor maps to BonusArmor (green armor)
7579
return proto.Stat_StatBonusArmor, true
7680
case 43: // ManaRegeneration
@@ -215,6 +219,11 @@ type EnchantMetaType struct {
215219
}
216220

217221
var SpellSchoolToStat = map[SpellSchool]proto.Stat{
222+
FIRE: -1,
223+
ARCANE: -1,
224+
NATURE: -1,
225+
FROST: -1,
226+
SHADOW: -1,
218227
PHYSICAL: proto.Stat_StatArmor,
219228
}
220229
var MapInventoryTypeToEnchantMetaType = map[InventoryTypeFlag]EnchantMetaType{
@@ -340,7 +349,7 @@ var RatingModToStat = map[RatingModType]proto.Stat{
340349
RATING_MOD_MULTISTRIKE: -1,
341350
RATING_MOD_READINESS: -1,
342351
RATING_MOD_SPEED: -1,
343-
RATING_MOD_RESILIENCE: -1,
352+
RATING_MOD_RESILIENCE: proto.Stat_StatPvpResilienceRating,
344353
RATING_MOD_LEECH: -1,
345354
RATING_MOD_HASTE_MELEE: proto.Stat_StatHasteRating,
346355
RATING_MOD_HASTE_RANGED: proto.Stat_StatHasteRating,

ui/core/components/individual_sim_ui/exporters/individual_60u_ep_exporter.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export class Individual60UEPExporter<SpecType extends Spec> extends IndividualEx
5959
[Stat.StatAttackPower]: 'attackPower',
6060
[Stat.StatMasteryRating]: 'masteryRating',
6161
[Stat.StatExpertiseRating]: 'expertiseRating',
62+
// TODO: Change PVP Resilience and Power once 60U exists for MoP
6263
[Stat.StatPvpResilienceRating]: 'pvpResilienceRating',
6364
[Stat.StatPvpPowerRating]: 'pvpPowerRating',
6465
[Stat.StatMana]: 'mana',

ui/core/components/individual_sim_ui/exporters/individual_pawn_ep_exporter.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,9 @@ export class IndividualPawnEPExporter<SpecType extends Spec> extends IndividualE
6565
[Stat.StatRangedAttackPower]: 'Ap',
6666
[Stat.StatDodgeRating]: 'DodgeRating',
6767
[Stat.StatParryRating]: 'ParryRating',
68-
[Stat.StatPvpResilienceRating]: 'pvpResilienceRating',
69-
[Stat.StatPvpPowerRating]: 'pvpPowerRating',
68+
// TODO: Change PVP Resilience and Power once Pawn exists for MoP
69+
[Stat.StatPvpResilienceRating]: 'ResilienceRating',
70+
[Stat.StatPvpPowerRating]: 'PVPPowerRating',
7071
[Stat.StatHealth]: 'Health',
7172
[Stat.StatBonusArmor]: 'Armor2',
7273
};

0 commit comments

Comments
 (0)