// Mortal Strike =============================================================
struct mortal_strike_t : public warrior_attack_t
{
mortal_strike_t( player_t* player, const std::string& options_str ) :
warrior_attack_t( "mortal_strike", player, SCHOOL_PHYSICAL, TREE_ARMS )
{
warrior_t* p = player -> cast_warrior();
check_talent( p -> talents.mortal_strike );
option_t options[] =
{
{ NULL, OPT_UNKNOWN, NULL }
};
parse_options( options, options_str );
static rank_t ranks[] =
{
{ 80, 8, 380, 380, 0, 30 },
{ 75, 7, 320, 320, 0, 30 },
{ 70, 6, 210, 210, 0, 30 },
{ 66, 5, 185, 185, 0, 30 },
{ 60, 4, 160, 160, 0, 30 },
{ 0, 0, 0, 0, 0, 0 }
};
init_rank( ranks, 47486 );
may_crit = true;
cooldown -> duration = 6.0 - ( p -> talents.improved_mortal_strike / 3.0 );
base_multiplier *= 1.0 + ( ( util_t::talent_rank( p -> talents.improved_mortal_strike, 3, 0.03, 0.06, 0.10 ) ) +
( p -> glyphs.mortal_strike ? 0.10 : 0 ) );
if ( p -> set_bonus.tier8_4pc_melee() ) base_crit += 0.10;
weapon_multiplier = 1;
weapon = &( p -> main_hand_weapon );
}
};
[свернуть]