newsbot
14.10.2016, 05:51
Автор: killerwife
<pre style='white-space:pre-wrap;width:81ex'>[12943] Flametongue corrections
one of the int values has to be converted into a float not to have a int
/ int calculation which would result in a rounded off result.
bonus damage variable now contains flat bonuses from spells like amplify
magic (mage spell) and similar, this damage is in no way related to
"increased spell power" from gear.
Instead "increased spell power" from gear is added in
SpellBonusWithCoeffs. Since this spell is Spell_Effect_Dummy, we need to
handle it manually. There is no generic behaviour for this. From reading
patch notes, blizzard is referring to this "spell power", not the bonus
damage from a few measly auras. Therefore with this, spell power on gear
will dynamically scale damage based on spell power.
INSERT INTO spell_bonus_data VALUES(***39;8026***39;, ***39;3.85***39;, ***39;0***39;, ***39;0***39;, ***39;0***39;,
***39;Shaman - Flametongue Weapon Proc Rank 1***39;);
and remove the 3.85f * from code.</pre>
Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/83e4175981e1ddad7571de876fdc469ed63658d6)
<pre style='white-space:pre-wrap;width:81ex'>[12943] Flametongue corrections
one of the int values has to be converted into a float not to have a int
/ int calculation which would result in a rounded off result.
bonus damage variable now contains flat bonuses from spells like amplify
magic (mage spell) and similar, this damage is in no way related to
"increased spell power" from gear.
Instead "increased spell power" from gear is added in
SpellBonusWithCoeffs. Since this spell is Spell_Effect_Dummy, we need to
handle it manually. There is no generic behaviour for this. From reading
patch notes, blizzard is referring to this "spell power", not the bonus
damage from a few measly auras. Therefore with this, spell power on gear
will dynamically scale damage based on spell power.
INSERT INTO spell_bonus_data VALUES(***39;8026***39;, ***39;3.85***39;, ***39;0***39;, ***39;0***39;, ***39;0***39;,
***39;Shaman - Flametongue Weapon Proc Rank 1***39;);
and remove the 3.85f * from code.</pre>
Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/83e4175981e1ddad7571de876fdc469ed63658d6)