mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[7629] Update paladin talent 25988 work to 3.0.x
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
5c7b3e1f50
commit
ca5a3d95ca
2 changed files with 1 additions and 5 deletions
|
|
@ -4436,10 +4436,6 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
|
||||||
case 9799:
|
case 9799:
|
||||||
case 25988:
|
case 25988:
|
||||||
{
|
{
|
||||||
// prevent damage back from weapon special attacks
|
|
||||||
if (!procSpell || procSpell->DmgClass != SPELL_DAMAGE_CLASS_MAGIC )
|
|
||||||
return false;
|
|
||||||
|
|
||||||
// return damage % to attacker but < 50% own total health
|
// return damage % to attacker but < 50% own total health
|
||||||
basepoints0 = triggerAmount*int32(damage)/100;
|
basepoints0 = triggerAmount*int32(damage)/100;
|
||||||
if(basepoints0 > GetMaxHealth()/2)
|
if(basepoints0 > GetMaxHealth()/2)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7628"
|
#define REVISION_NR "7629"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue