Skip to content

Commit

Permalink
[Mage] Improve Light's Judgment use.
Browse files Browse the repository at this point in the history
  • Loading branch information
vituscze committed Feb 4, 2018
1 parent 99d7e25 commit 53224a6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion engine/class_modules/sc_mage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7947,11 +7947,15 @@ void mage_t::apl_arcane()
burn -> add_talent( this, "Nether Tempest", "if=refreshable|!ticking", "Use during pandemic refresh window or if the dot is missing." );
burn -> add_action( this, "Mark of Aluneth" );
burn -> add_talent( this, "Mirror Image" );
burn -> add_action( "lights_judgment,if=buff.arcane_power.down" );
burn -> add_talent( this, "Rune of Power", "if=mana.pct>30|(buff.arcane_power.up|cooldown.arcane_power.up)", "Prevents using RoP at super low mana." );
burn -> add_action( this, "Arcane Power" );

for( size_t i = 0; i < racial_actions.size(); i++ )
{
if ( racial_actions[ i ] == "lights_judgment" )
continue; // Handled manually.

burn -> add_action( racial_actions[i] );
}

Expand Down Expand Up @@ -8016,13 +8020,17 @@ void mage_t::apl_fire()
default_list -> add_action( "call_action_list,name=rop_phase,if=buff.rune_of_power.up&buff.combustion.down" );
default_list -> add_action( "call_action_list,name=standard_rotation" );

combustion_phase -> add_action( "lights_judgment,if=buff.combustion.down" );
combustion_phase -> add_talent( this, "Rune of Power", "if=buff.combustion.down" );
combustion_phase -> add_action( "call_action_list,name=active_talents" );
combustion_phase -> add_action( this, "Combustion" );
combustion_phase -> add_action( "potion" );

for( size_t i = 0; i < racial_actions.size(); i++ )
for ( size_t i = 0; i < racial_actions.size(); i++ )
{
if ( racial_actions[ i ] == "lights_judgment" )
continue; // Handled manually.

combustion_phase -> add_action( racial_actions[i] );
}

Expand Down

0 comments on commit 53224a6

Please sign in to comment.