Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[9798] Implement basic splitting for caster/target part damage/heal b…
…onus calculations, periodic damage/heal over time auras will now store m_amount with caster side bonuses applied and calculate target part on each tick. Currently critical chance/bonus calculations are not affected by this change
- Loading branch information
Showing
6 changed files
with
559 additions
and
297 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Laise, this is a huge update. You are awesome. Thanks!
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AWESOME!
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi , smal bug compilation :
../../../src/game/SpellEffects.cpp: In member function «void Spell::EffectSchoolDMG(SpellEffectIndex)»:
../../../src/game/SpellEffects.cpp:775: erreur: «class Unit» has no member named «SpellBaseDamageBonus»
../../../src/game/SpellEffects.cpp:776: erreur: «class Unit» has no member named «SpellBaseDamageBonusForVictim»
Forget to declare in unit.h ?
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...Sorry its on my side . :D
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Except for easier code for the future it also fixes damage/heal over time auras so now they will store caster damage on apply - meaning if caster for example dies, his dots will still do same amount of damage as before (dependent from target side ofc)
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get it.. so you are saying that killing the caster wont immediately stop his DoT's from running thier course... right? sounds good to me!
also, wanted to welcome laise... your work is amazing bud!
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh my god laise you're a BEAST :p
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh my god laise you're a BEAST :p
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job.
Thank you.
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this also fix shatter combo, does it? :)
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, shatter combo should be fixed in [9784] =)
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if anyone have too high Conflagrate damage, in SpellEffects.cpp line 512-513 try removing calls to SpellDamageBonusDone, maybe also Taken
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i have, but already reverted this revision xD
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is a bug when you have a mage with talent 12606 + spell 43015 and receive damage from for example DK blood Plague, you receive millions of damage
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^ is it on clean core or on yours? Because its not happening for me
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's just bugreport from my core users, i didn't test it already, maybe there is a specific condition for bug... will try to get more info from that user. And i think my patches can't cause this bug because they affect on some single spells, it started after switch to this rev.
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some example of damage recount:
http://img688.imageshack.us/i/bugalisdk.jpg/
http://img69.imageshack.us/img69/836/wowscrnshot043010150253.jpg
And Video:
http://www.youtube.com/watch?v=WetQT9nnwc0
Best Regards
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
100% on clean core? and what spell it was for paladin?
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No sorry, insider42 based. dont this problem exist in clean core?, maybe Pala and DK spells related
Best regards
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HowTo on clean core :
cast on self:
.cast 43015
.cast 55078
->i'll die xD
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
strange - did that, damage remained normal - also tried on naked/full geared with/out talents - no difference
btw whats in your spell_bonus_data for 55078?
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, just did it again. Full rebuild project. On any character
.cast 43015 then .cast 55078
or even mob:
.aura 43015 then .aura 55078
Log on tick: http://paste2.org/p/808734
damage negative -256 o_O
I think it's OS-dependent. Tested on Win 32bit.
this is from my DB http://paste2.org/p/808753
Seems trouble in calculations Unit::MeleeDamageBonusTaken here
float tmpDamage (should be int32???)
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to note, the bug just happen with rank 7 of Dampen Magic, with Rank 6 you dont have the bug, using Win Server 2008 x64
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Wowka321 - in mangos.sql : (55078, 0, 0, 0.055, 'Death Knight - Blood Plague Dummy Proc'),
I'll check with your values
@Andrewzz, I used 7 =\
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have the same DB values that Wowka321 has, I didnt manually edited that, it just came from 1 DB provider (YTDB) or 2 core update.
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, I think i got it, will fix soon, thx 2all
*
should be fixed in [9831]
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx, Laise ^^
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then YTDB not mangos core compatible. They don't must touch tables filled by mangos team ;)
8d982db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was wrong, the values came from an Insider addition, sorry ^_^