Skip to content

Commit f24bfbf

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

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

engine/class_modules/sc_shaman.cpp

Lines changed: 19 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,24 @@ void shaman_t::summon_lesser_elemental( elemental type, timespan_t override_dura
1313213133
}
1313313134
}
1313413135

13136+
// shaman_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+
13151+
return true;
13152+
}
13153+
1313513154
// ==========================================================================
1313613155
// Shaman Tracking - code blocks that shall not be doublicated
1313713156
// ==========================================================================

0 commit comments

Comments
 (0)