Skip to content

Commit c2fb069

Browse files
authored
Merge pull request wowsims#106 from wowsims/feature/warrior
fix rend
2 parents 94bba53 + ef6b7e0 commit c2fb069

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

sim/warrior/rend.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func (war *Warrior) registerRend() {
4040
NumberOfTicks: 7,
4141
TickLength: time.Second * 3,
4242
OnSnapshot: func(sim *core.Simulation, target *core.Unit, dot *core.Dot) {
43-
dot.SnapshotBaseDamage = 182 + war.AutoAttacks.MH().CalculateAverageWeaponDamage(dot.Spell.MeleeAttackPower())*0.05201
43+
dot.SnapshotBaseDamage = float64(182/dot.BaseTickCount) + war.AutoAttacks.MH().CalculateAverageWeaponDamage(dot.Spell.MeleeAttackPower())*0.00743
4444
dot.SnapshotAttackerMultiplier = dot.Spell.AttackerDamageMultiplier(dot.Spell.Unit.AttackTables[target.UnitIndex], true)
4545
},
4646
OnTick: func(sim *core.Simulation, target *core.Unit, dot *core.Dot) {

ui/core/proto_utils/action_id.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ export class ActionId {
8585
} else if (this.tag == 99999) {
8686
name += ' (Boss)';
8787
} else if (this.tag == 99998) {
88-
console.log(this, this.tag);
8988
name += ' (Add)';
9089
} else if (this.tag > 6445300) {
9190
name += ` (Set'thik Windblade ${(this.tag - 6445300).toFixed(0)})`;
@@ -462,7 +461,6 @@ export class ActionId {
462461
}
463462
break;
464463
case 'Berserking':
465-
console.log(this)
466464
if (tag == 1) {
467465
name += ' (10%)';
468466
} else if (tag == 2) {

0 commit comments

Comments
 (0)