diff options
| author | Machiavelli <none@none> | 2009-06-10 00:41:29 +0200 |
|---|---|---|
| committer | Machiavelli <none@none> | 2009-06-10 00:41:29 +0200 |
| commit | d065bbf410429371bbd4b3f60cfac02fec28a473 (patch) | |
| tree | ea9d4191fe765c51a419db777b19252fda2b024d /src/game/Creature.cpp | |
| parent | 0643c3df83c36ae7ab0196859e476395e42a4ba0 (diff) | |
* When checking if players are eligible for reward after killing a creature, check for minimum of 50% of 'cur_health' prior to combat rather than max health. Fixes Murmur loot issue.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Creature.cpp')
| -rw-r--r-- | src/game/Creature.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index 7f249b36fbd..b3e735aa2de 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -154,6 +154,7 @@ m_creatureInfo(NULL), m_reactState(REACT_AGGRESSIVE), m_formation(NULL), m_summo m_unit_movement_flags = MOVEMENTFLAG_WALK_MODE; DisableReputationGain = false; ResetDamageByPlayers(); + m_MinPlayerDamageReq = (uint32)(m_creature->GetHealth / m_creature->GetMaxHealth * 50); } Creature::~Creature() |
