Skip to content

Commit 3ff5d1e

Browse files
committed
[shaman] disable DS/DR
1 parent 57ee608 commit 3ff5d1e

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

engine/class_modules/sc_shaman.cpp

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2037,6 +2037,7 @@ struct shaman_t : public parse_player_effects_t
20372037
void init_uptimes() override;
20382038
void init_assessors() override;
20392039
void init_rng() override;
2040+
bool validate_fight_style( fight_style_e style ) const override;
20402041
void init_items() override;
20412042
void init_special_effects() override;
20422043
void init_finished() override;
@@ -13132,6 +13133,35 @@ void shaman_t::summon_lesser_elemental( elemental type, timespan_t override_dura
1313213133
}
1313313134
}
1313413135

13136+
// warrior_t::validate_fight_style ==========================================
13137+
bool shaman_t::validate_fight_style( fight_style_e style ) const
13138+
{
13139+
if ( specialization() == SHAMAN_ELEMENTAL )
13140+
{
13141+
switch ( style )
13142+
{
13143+
case FIGHT_STYLE_DUNGEON_ROUTE:
13144+
case FIGHT_STYLE_DUNGEON_SLICE:
13145+
return false;
13146+
default:
13147+
return true;
13148+
}
13149+
}
13150+
else if ( specialization() == SHAMAN_ENHANCEMENT )
13151+
{
13152+
switch ( style )
13153+
{
13154+
case FIGHT_STYLE_DUNGEON_ROUTE:
13155+
case FIGHT_STYLE_DUNGEON_SLICE:
13156+
return false;
13157+
default:
13158+
return true;
13159+
}
13160+
}
13161+
13162+
return true;
13163+
}
13164+
1313513165
// ==========================================================================
1313613166
// Shaman Tracking - code blocks that shall not be doublicated
1313713167
// ==========================================================================

0 commit comments

Comments
 (0)