Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Abyssal Speaker's Gauntlets ==============================================
- void items::abyssal_speakers_gauntlets( special_effect_t& effect )
- {
- struct ephemeral_vigor_proc_callback_t : public dbc_proc_callback_t
- {
- buff_t* ephemeral_vigor_buff;
- ephemeral_vigor_proc_callback_t( const special_effect_t& effect ) :
- dbc_proc_callback_t( effect.item, effect )
- { }
- void execute( action_t* action, action_state_t* ) override
- {
- auto out = action->player->sim->out_log;
- out.printf("ephemeral vigor proc");
- out.printf("buff duration: %f", proc_buff->buff_duration);
- out.printf("shield duration override: %f", action->player->sim->bfa_opts.abyssal_speakers_gauntlets_shield_duration);
- out.printf("adjusted duration: %f", proc_buff->buff_duration * action->player->sim->bfa_opts.abyssal_speakers_gauntlets_shiel
- // override duration based on the bfa option
- proc_buff->set_duration( proc_buff->buff_duration * action->player->sim->bfa_opts.abyssal_speakers_gauntlets_shield_duration)
- proc_buff->trigger();
- }
- };
- auto out = effect.player->sim->out_log;
- out.printf("gauntlets override");
- new ephemeral_vigor_proc_callback_t( effect );
- }
Advertisement
Add Comment
Please, Sign In to add comment