Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct blast_wave_t : public mage_spell_t
- {
- blast_wave_t( mage_t* p, const std::string& options_str ) :
- mage_spell_t( "blast_wave", p, p -> talents.blast_wave )
- {
- parse_options( NULL, options_str );
- aoe = -1;
- }
- virtual void init()
- {
- mage_spell_t::init();
- // FIXME: Cannot find this info in the spell data, so I had to hard code it.
- cooldown -> duration = timespan_t::from_seconds( 12.0 );
- cooldown -> charges = 2;
- }
- // Since the target is always going to be the enemy, the damage done by blast_wave needs to get the 100% damage bonus
- virtual double action_multiplier() const
- {
- double am = mage_spell_t::action_multiplier();
- am *= 1.0 + p() -> talents.blast_wave -> effectN( 1 ).percent();
- return am;
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement