Skip to content

Commit

Permalink
Merge pull request #3601 from vigo2/vigo/autoAttacks
Browse files Browse the repository at this point in the history
vigo/autoAttacks
  • Loading branch information
vigo2 authored Sep 5, 2023
2 parents 1445e6c + 305a0c8 commit 6145dd7
Show file tree
Hide file tree
Showing 39 changed files with 968 additions and 983 deletions.
8 changes: 4 additions & 4 deletions proto/shaman.proto
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,9 @@ enum ShamanImbue {
}

enum ShamanSyncType {
NoSync = 0;
SyncMainhandOffhandSwings = 1;
DelayOffhandSwings = 2;
NoSync = 0;
SyncMainhandOffhandSwings = 1;
DelayOffhandSwings = 2;
Auto = 3;
}

Expand Down Expand Up @@ -269,7 +269,7 @@ message EnhancementShaman {
}
RotationType rotation_type = 2;

//TODO: add spells here for custom rotation (if nessecary?)
//TODO: add spells here for custom rotation (if necessary?)
enum CustomRotationSpell {
NoSpell = 0;
Stormstrike = 1;
Expand Down
2 changes: 1 addition & 1 deletion sim/common/tbc/melee_trinkets.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func init() {

core.NewItemEffect(11815, func(agent core.Agent) {
character := agent.GetCharacter()
if !character.AutoAttacks.IsEnabled() {
if !character.AutoAttacks.AutoSwingMelee {
return
}

Expand Down
2 changes: 1 addition & 1 deletion sim/common/wotlk/capacitors.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func init() {

core.NewItemEffect(itemID, func(agent core.Agent) {
character := agent.GetCharacter()
if !character.AutoAttacks.IsEnabled() {
if !character.AutoAttacks.AutoSwingMelee {
return
}

Expand Down
Loading

0 comments on commit 6145dd7

Please sign in to comment.