mangosArchives / Mangos-One-server-old

This repo has been moved to https://githubs.com/mangosone/server
http://getmangos.eu/
GNU General Public License v2.0
95 stars 54 forks source link

[Spell] Seal of blood #24

Open Lillecarl opened 12 years ago

Lillecarl commented 12 years ago

Seal of blood is doing very wrong selfdamage.The self damage should be calculated like this:

selfdamage = (whitedamage * 1.35) * 0.1;

Idk where, but that is how it should be, the only thing i currently found about seal of blood is here:

basepoints[0] = triggerAmount * damage / 100; ( Line 1252 in UnitAuraProcHandler.cpp)

hit 1:
224 Seal of blood 693 melee
312 selfdmg ;917 / 10 = 91.7 (selfdmg should be 91 or 92)

hit 2: 272 seal of blood 794 melee 361 selfdmg ;1066 / 10 = 106,6 (selfdmg should be 106 or 107)