aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorMachiavelli <none@none>2009-10-05 23:58:37 +0200
committerMachiavelli <none@none>2009-10-05 23:58:37 +0200
commitea4bac68f34b03a5823c61248ec2c0bb98c18aff (patch)
tree86ceafbe17ac3a5cd5e84de4720a30807420a0ac /src/game/Unit.cpp
parent4d70fd95beeb447d63f584d813a1b08205d35892 (diff)
* Fix Blood Presence / Improved Blood Presence, recent client version changed the spell so it should also heal from damaging targets that would not give experience or honor.
* Fix typo in 5813_world_command.sql --HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 6486462af11..98760807e4f 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -6770,7 +6770,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
// Improved Blood Presence
if (dummySpell->SpellIconID == 2636)
{
- if (GetTypeId() != TYPEID_PLAYER || !((Player*)this)->isHonorOrXPTarget(pVictim))
+ if (GetTypeId() != TYPEID_PLAYER)
return false;
basepoints0 = triggerAmount * damage / 100;
// Blood Aura
@@ -7519,8 +7519,7 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig
{
if (GetTypeId() != TYPEID_PLAYER)
return false;
- if (!((Player*)this)->isHonorOrXPTarget(pVictim))
- return false;
+
trigger_spell_id = 50475;
basepoints0 = damage * triggerAmount / 100;
}