Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct deadwind_harvester_t : public buff_t
- {
- deadwind_harvester_t( warlock_t* p ) :
- buff_t( buff_creator_t( p, "deadwind_harvester", p -> find_spell( 216708 ) ) )
- {
- }
- void execute( int a, double b, timespan_t t ) override
- {
- warlock_t* p = debug_cast<warlock_t*>( player );
- buff_t::execute( a, b, t );
- p -> reap_souls_modifier = 2.0;
- }
- void expire_override( int expiration_stacks, timespan_t remaining_duration ) override
- {
- buff_t::expire_override( expiration_stacks, remaining_duration );
- warlock_t* p = static_cast<warlock_t*>( player );
- p -> reap_souls_modifier = 1.0;
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment