Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- auto mastery = get_effect(this->cached_effects, this->get_mastery_spell_id(), effect_type_t::E_APPLY_AURA, effect_subtype_t::A_DUMMY, ignore_cache);
- return this->base_mastery + static_cast<float>(((this->mastery_rating / __combat_ratings[Rating::MASTERY][this->get_level() - 1]) * 0.01) * (mastery ? mastery->_sp_coeff : 1.0f));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement