|
| absorb_buff_t (actor_pair_t q, util::string_view name) |
|
| absorb_buff_t (actor_pair_t q, util::string_view name, const spell_data_t *spell, const item_t *item=nullptr) |
|
void | start (int stacks=1, double value=DEFAULT_VALUE(), timespan_t duration=timespan_t::min()) override |
|
void | expire_override (int expiration_stacks, timespan_t remaining_duration) override |
|
virtual double | consume (double amount) |
|
absorb_buff_t * | set_absorb_gain (gain_t *) |
|
absorb_buff_t * | set_absorb_source (stats_t *) |
|
absorb_buff_t * | set_absorb_school (school_e) |
|
absorb_buff_t * | set_absorb_high_priority (bool) |
|
absorb_buff_t * | set_absorb_eligibility (absorb_eligibility) |
|
| buff_t (actor_pair_t q, util::string_view name) |
|
| buff_t (actor_pair_t q, util::string_view name, const spell_data_t *, const item_t *item=nullptr) |
|
| buff_t (sim_t *sim, util::string_view name) |
|
| buff_t (sim_t *sim, util::string_view name, const spell_data_t *, const item_t *item=nullptr) |
|
const spell_data_t & | data () const |
|
const spell_data_t & | data_reporting () const |
|
int | check () const |
| Get current number of stacks, no benefit tracking. More...
|
|
int | stack () |
| Get current number of stacks + benefit tracking. More...
|
|
bool | up () |
| Check if buff is up Use check() inside of ready() and cost() methods to prevent skewing of "benefit" calculations. More...
|
|
virtual double | value () |
| Get current buff value + benefit tracking.
|
|
double | stack_value () |
| Get current buff value multiplied by current stacks + benefit tracking.
|
|
double | check_value () const |
| Get current buff value + NO benefit tracking.
|
|
double | check_stack_value () const |
| Get current buff value multiplied by current stacks + NO benefit tracking.
|
|
virtual bool | freeze_stacks () |
| Return true if tick should not call bump() or decrement()
|
|
virtual timespan_t | buff_duration () const |
|
timespan_t | remains () const |
|
timespan_t | tick_time_remains () const |
|
timespan_t | elapsed (timespan_t t) const |
|
timespan_t | last_trigger_time () const |
|
timespan_t | last_expire_time () const |
|
bool | remains_gt (timespan_t time) const |
|
bool | remains_lt (timespan_t time) const |
|
bool | has_common_school (school_e) const |
|
bool | at_max_stacks (int mod=0) const |
|
int | _resolve_stacks (int stacks) |
|
bool | trigger (action_t *, int stacks=-1, double value=DEFAULT_VALUE(), timespan_t duration=timespan_t::min()) |
|
bool | trigger (timespan_t duration) |
|
bool | trigger (int stacks, timespan_t duration) |
|
virtual bool | trigger (int stacks=-1, double value=DEFAULT_VALUE(), double chance=-1.0, timespan_t duration=timespan_t::min()) |
|
virtual void | execute (int stacks=-1, double value=DEFAULT_VALUE(), timespan_t duration=timespan_t::min()) |
|
virtual void | increment (int stacks=1, double value=DEFAULT_VALUE(), timespan_t duration=timespan_t::min()) |
|
virtual void | decrement (int stacks=1, double value=DEFAULT_VALUE()) |
|
virtual void | extend_duration (player_t *p, timespan_t seconds) |
|
virtual void | extend_duration_or_trigger (timespan_t duration=timespan_t::min(), player_t *p=nullptr) |
|
virtual void | refresh (int stacks=0, double value=DEFAULT_VALUE(), timespan_t duration=timespan_t::min()) |
|
virtual void | bump (int stacks=1, double value=DEFAULT_VALUE()) |
|
virtual void | override_buff (int stacks=1, double value=DEFAULT_VALUE()) |
|
virtual bool | may_react (int stacks=1) |
|
virtual int | stack_react () |
|
virtual void | expire (timespan_t delay=timespan_t::zero()) |
|
void | cancel () |
|
virtual void | predict () |
|
virtual void | reset () |
|
virtual void | aura_gain () |
|
virtual void | aura_loss () |
|
virtual void | merge (const buff_t &other_buff) |
|
virtual void | analyze () |
|
virtual void | datacollection_begin () |
|
virtual void | datacollection_end () |
|
virtual timespan_t | refresh_duration (timespan_t new_duration) const |
|
virtual timespan_t | tick_time () const |
|
void | invalidate_cache () |
|
virtual int | total_stack () |
|
std::string | to_str () const |
|
const char * | name () const |
|
const char * | name_reporting () const |
|
util::string_view | source_name () const |
|
int | max_stack () const |
|
int | initial_stack () const |
|
const spell_data_t * | get_trigger_data () const |
|
rng::rng_t & | rng () |
|
buff_t * | set_chance (double chance) |
|
buff_t * | set_duration (timespan_t duration) |
|
buff_t * | modify_duration (timespan_t duration) |
|
buff_t * | set_duration_multiplier (double) |
|
buff_t * | set_max_stack (int max_stack) |
|
buff_t * | modify_max_stack (int max_stack) |
|
buff_t * | set_initial_stack (int initial_stack) |
|
buff_t * | modify_initial_stack (int initial_stack) |
|
buff_t * | set_expire_at_max_stack (bool) |
|
buff_t * | set_cooldown (timespan_t duration) |
|
buff_t * | modify_cooldown (timespan_t duration) |
|
buff_t * | set_period (timespan_t) |
|
buff_t * | set_quiet (bool quiet) |
|
buff_t * | add_invalidate (cache_e) |
|
buff_t * | set_schools (unsigned) |
|
buff_t * | set_schools_from_effect (size_t) |
|
buff_t * | add_school (school_e) |
|
buff_t * | set_pct_buff_type (stat_pct_buff_type) |
|
buff_t * | set_default_value (double, size_t=0) |
|
virtual buff_t * | set_default_value_from_effect (size_t, double=0.0) |
|
virtual buff_t * | set_default_value_from_effect_type (effect_subtype_t a_type, property_type_t p_type=P_MAX, double multiplier=0.0, effect_type_t e_type=E_APPLY_AURA) |
|
buff_t * | modify_default_value (double) |
|
buff_t * | set_reverse (bool) |
|
buff_t * | set_activated (bool) |
|
buff_t * | set_can_cancel (bool cc) |
|
buff_t * | set_tick_behavior (buff_tick_behavior) |
|
buff_t * | set_tick_callback (buff_tick_callback_t) |
|
buff_t * | set_tick_time_callback (buff_tick_time_callback_t) |
|
buff_t * | set_affects_regen (bool state) |
|
buff_t * | set_constant_behavior (buff_constant_behavior) |
|
buff_t * | set_refresh_behavior (buff_refresh_behavior) |
|
buff_t * | set_refresh_duration_callback (buff_refresh_duration_callback_t) |
|
buff_t * | set_tick_zero (bool v) |
|
buff_t * | set_tick_on_application (bool v) |
|
buff_t * | set_partial_tick (bool v) |
|
buff_t * | set_tick_time_behavior (buff_tick_time_behavior b) |
|
buff_t * | set_rppm (rppm_scale_e scale=RPPM_NONE, double freq=-1, double mod=-1) |
|
buff_t * | set_trigger_spell (const spell_data_t *s) |
|
buff_t * | set_stack_change_callback (const buff_stack_change_callback_t &cb) |
|
buff_t * | set_reverse_stack_count (int count) |
|
buff_t * | set_stack_behavior (buff_stack_behavior b) |
|
buff_t * | set_allow_precombat (bool b) |
|
buff_t * | set_name_reporting (std::string_view) |
|
virtual buff_t * | apply_affecting_aura (const spell_data_t *spell) |
|
virtual buff_t * | apply_affecting_effect (const spelleffect_data_t &effect) |
|
virtual buff_t * | apply_affecting_conduit (const conduit_data_t &conduit, int effect_num=1) |
|
virtual buff_t * | apply_affecting_conduit_effect (const conduit_data_t &conduit, size_t effect_num) |
|