Skip to content

Commit da22823

Browse files
committed
[Gear] add role multiplier to spellstrike warplance
1 parent 9e2a117 commit da22823

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

engine/player/unique_gear_thewarwithin.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10126,6 +10126,14 @@ void voidglass_shards( special_effect_t& effect )
1012610126
new voidglass_shards_cb_t( effect );
1012710127
}
1012810128

10129+
// warplance strike
10130+
// 1243411 driver
10131+
void warplance_strike( special_effect_t& effect )
10132+
{
10133+
effect.aoe = -1;
10134+
effect.discharge_amount = effect.driver()->effectN( 1 ).average( effect ) * role_mult( effect );
10135+
}
10136+
1012910137
// Armor
1013010138

1013110139
// 457815 driver
@@ -12632,6 +12640,7 @@ void register_special_effects()
1263212640
register_special_effect( 1224457, items::shadow_quake );
1263312641
set_min_version( wowv_t( 11, 2, 0 ) );
1263412642
register_special_effect( 1235136, items::voidglass_shards );
12643+
register_special_effect( 1243411, items::warplance_strike );
1263512644
reset_version_check();
1263612645

1263712646
// Armor

0 commit comments

Comments
 (0)