* 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
This commit is contained in:
Machiavelli
2009-10-05 23:58:37 +02:00
parent 4d70fd95be
commit ea4bac68f3
2 changed files with 3 additions and 4 deletions
+2 -3
View File
@@ -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;
}