SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
|
This is a template for common code between priest buffs. More...
#include <sc_priest.hpp>
Public Types | |
using | base_t = priest_buff_t |
Public Member Functions | |
priest_buff_t (priest_td_t &td, util::string_view name, const spell_data_t *s=spell_data_t::nil(), const item_t *item=nullptr) | |
priest_buff_t (priest_t &p, util::string_view name, const spell_data_t *s=spell_data_t::nil(), const item_t *item=nullptr) | |
Protected Member Functions | |
priest_t & | priest () |
const priest_t & | priest () const |
This is a template for common code between priest buffs.
The template is instantiated with any type of buff ( buff_t, debuff_t, absorb_buff_t, etc. ) as the 'Base' class. Make sure you keep the inheritance hierarchy and use base_t in the derived class, don't skip it and call buff_t/absorb_buff_t/etc. directly.