Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- virtual void execute() override
- {
- warlock_spell_t::execute();
- if ( p() -> artifact.reap_souls.rank() && p() -> buffs.tormented_souls -> check() )
- {
- base_time = base_duration + reap_and_sow_bonus;
- souls_consumed = p() -> buffs.tormented_souls -> stack();
- total_duration = base_time * souls_consumed;
- max_extension = base_time * 12 - p() -> buffs.deadwind_harvester -> remains();
- p() -> buffs.deadwind_harvester -> trigger( 1, buff_t::DEFAULT_VALUE(), -1.0, std::min( max_extension, total_duration ) );
- for ( int i = 0; i < souls_consumed; ++i )
- {
- p() -> procs.souls_consumed -> occur();
- }
- p() -> buffs.tormented_souls -> decrement( souls_consumed );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment