mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
Merge branch 'master' into 310
Conflicts: src/game/Unit.cpp
This commit is contained in:
commit
14e9afa46f
43 changed files with 4445 additions and 271 deletions
|
|
@ -4424,10 +4424,6 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
|
|||
case 9799:
|
||||
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
|
||||
basepoints0 = triggerAmount*int32(damage)/100;
|
||||
if(basepoints0 > GetMaxHealth()/2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue