Skip to content

Commit f01ed82

Browse files
committed
[DK] Silence warnings
1 parent d4eb53e commit f01ed82

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

engine/class_modules/sc_death_knight.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8771,8 +8771,8 @@ struct blood_draw_t final : public death_knight_spell_t
87718771
struct blood_mist_t final : public death_knight_spell_t
87728772
{
87738773
blood_mist_t( std::string_view name, death_knight_t* p ) : death_knight_spell_t( name, p, p->spell.blood_mist_damage ),
8774-
rp_gain( p->spell.blood_mist_rp_gain->effectN( 1 ).resource( RESOURCE_RUNIC_POWER ) ),
8775-
rp_gain_cap( p->spell.blood_mist_rp_gain->effectN( 1 ).resource( RESOURCE_RUNIC_POWER ) * p->spell.blood_mist_buff->effectN( 3 ).base_value() ),
8774+
rp_gain( as<int>( p->spell.blood_mist_rp_gain->effectN( 1 ).resource( RESOURCE_RUNIC_POWER ) ) ),
8775+
rp_gain_cap( as<int>( p->spell.blood_mist_rp_gain->effectN( 1 ).resource( RESOURCE_RUNIC_POWER ) * p->spell.blood_mist_buff->effectN( 3 ).base_value() ) ),
87768776
rp_gained( 0 )
87778777
{
87788778
aoe = -1;
@@ -12778,7 +12778,7 @@ double death_knight_t::resource_loss( resource_e resource_type, double amount, g
1277812778
}
1277912779

1278012780
if ( talent.blood.sanguinary_burst.ok() && buffs.dancing_rune_weapon->check() )
12781-
buffs.sanguinary_burst->trigger( final_spend );
12781+
buffs.sanguinary_burst->trigger( as<int>( final_spend ) );
1278212782
}
1278312783
}
1278412784

0 commit comments

Comments
 (0)