diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-04-27 18:11:13 +0200 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-08-26 22:56:46 +0200 |
commit | 960d40d819afb65387469591bdb02e6819d72294 (patch) | |
tree | 773a697bdd12ae28a717bf6087c3109fbfc1fb35 /src/game-server/combatcomponent.cpp | |
parent | 163c438e4f373989a8a82e47f38ac67d70b5a1bf (diff) | |
download | manaserv-960d40d819afb65387469591bdb02e6819d72294.tar.gz manaserv-960d40d819afb65387469591bdb02e6819d72294.tar.bz2 manaserv-960d40d819afb65387469591bdb02e6819d72294.tar.xz manaserv-960d40d819afb65387469591bdb02e6819d72294.zip |
[Abilities] Added a add_hit_taken bind
This allows to display hit messages in the client for abilities
Diffstat (limited to 'src/game-server/combatcomponent.cpp')
-rw-r--r-- | src/game-server/combatcomponent.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/game-server/combatcomponent.cpp b/src/game-server/combatcomponent.cpp index 38c7716e..65eddc46 100644 --- a/src/game-server/combatcomponent.cpp +++ b/src/game-server/combatcomponent.cpp @@ -157,7 +157,6 @@ int CombatComponent::damage(Entity &target, if (HPloss > 0) { - mHitsTaken.push_back(HPloss); const Attribute *HP = beingComponent->getAttribute(ATTR_HP); LOG_DEBUG("Being " << target.getComponent<ActorComponent>()->getPublicID() |