* Added LowerPlayerDamageReq function from TC2

* Akama is summoned after the illidari council has been deafeated. (remove your akama spawn from creature db)
* Dampen Magic timer
* Merging mother from TC2

--HG--
branch : trunk
This commit is contained in:
Muhaha committed 2009-06-20 02:54:03 +02:00
1 parent 0bef9c2e59
commit eab85d9d6e
9 files changed
+29 -18

No files matched your search

+1 -1
View File
@@ -806,7 +806,7 @@ uint32 Unit::DealDamage(Unit *pVictim, uint32 damage, CleanDamage const* cleanDa
((Creature*)pVictim)->SetLootRecipient(this);
if(GetCharmerOrOwnerPlayerOrPlayerItself())
((Creature*)pVictim)->AddDamageByPlayers(health < damage ? health : damage);
((Creature*)pVictim)->LowerPlayerDamageReq(health < damage ? health : damage);
}
if (health <= damage)