Skip to content

Commit

Permalink
[Guardian] add error message for dungeonslice/dungeonroute
Browse files Browse the repository at this point in the history
  • Loading branch information
gastank committed May 1, 2024
1 parent d3a5388 commit a222013
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions engine/class_modules/sc_druid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10692,6 +10692,9 @@ bool druid_t::validate_fight_style( fight_style_e style ) const
{
case FIGHT_STYLE_DUNGEON_ROUTE:
case FIGHT_STYLE_DUNGEON_SLICE:
sim->error(
"Dungeon Slice and Dungeon Route fight styles do not account for reflected damage, such as Rage of the "
"Sleeper, Brambles, Dragonflight Season 3 set bonus, and some trinkets." );
return false;
default:
return true;
Expand Down
2 changes: 1 addition & 1 deletion engine/player/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,7 @@ void player_t::init()
// Validate current fight style is supported by the actor's module.
if ( !validate_fight_style( sim->fight_style ) )
{
sim->error( "Player {} does not support fight style {}, results may be unreliable.", *this,
sim->error( "{} does not support fight style {}, results may be unreliable.", *this,
util::fight_style_string( sim->fight_style ) );
}

Expand Down

0 comments on commit a222013

Please sign in to comment.