Skip to content

Commit

Permalink
[Priest] Rework MFI some more
Browse files Browse the repository at this point in the history
  • Loading branch information
Saeldur committed Oct 5, 2024
1 parent ffe53c7 commit 1a1e4aa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions engine/class_modules/priest/sc_priest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3975,6 +3975,7 @@ void priest_t::create_options()
add_option( opt_float( "priest.entropic_rift_miss_percent", options.entropic_rift_miss_percent, 0.0, 1.0 ) );
add_option(
opt_float( "priest.crystalline_reflection_damage_mult", options.crystalline_reflection_damage_mult, 0.0, 1.0 ) );
add_option( opt_bool( "priest.no_channel_macro_mfi", options.no_channel_macro_mfi ) );
}

std::string priest_t::create_profile( save_e type )
Expand Down
1 change: 1 addition & 0 deletions engine/class_modules/priest/sc_priest.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -849,6 +849,7 @@ struct priest_t final : public player_t

// Additional Crystalline Reflection Damage Multiplier (Because its bugged and doesnt always do full damage)
double crystalline_reflection_damage_mult = 0.5;
bool no_channel_macro_mfi = false;
} options;

priest_t( sim_t* sim, util::string_view name, race_e r );
Expand Down
3 changes: 3 additions & 0 deletions engine/class_modules/priest/sc_priest_shadow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ struct mind_flay_insanity_t final : public mind_flay_base_t
: mind_flay_base_t( "mind_flay_insanity", p, p.talents.shadow.mind_flay_insanity_spell )
{
parse_options( options_str );

// We spell queue out of MFI.
ability_lag = p.options.no_channel_macro_mfi ? p.world_lag : p.sim->queue_lag;
}

void execute() override
Expand Down

0 comments on commit 1a1e4aa

Please sign in to comment.