summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-09 17:53:52 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-09 17:53:52 +0300
commit4fe5fd9a471760c8ce54c71c8cdf3f27c8fb27ae (patch)
tree4efae7d8e5ef3f60b5b8dd9231fa2770492908a0 /src/being/being.h
parent0de391b6566f347d546be4dc56999b3c502fa46b (diff)
downloadmv-4fe5fd9a471760c8ce54c71c8cdf3f27c8fb27ae.tar.gz
mv-4fe5fd9a471760c8ce54c71c8cdf3f27c8fb27ae.tar.bz2
mv-4fe5fd9a471760c8ce54c71c8cdf3f27c8fb27ae.tar.xz
mv-4fe5fd9a471760c8ce54c71c8cdf3f27c8fb27ae.zip
On skill attacks on target for show effect use skill attribute skillHitEffectId.
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/being/being.h b/src/being/being.h
index 23afd549f..767f7f3cd 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -201,8 +201,11 @@ class Being notfinal : public ActorSprite,
* @param type the attack type
* @param id skill id
*/
- void takeDamage(Being *const attacker, const int damage,
- const AttackType::Type type, const int attackId = 1);
+ void takeDamage(Being *const attacker,
+ const int damage,
+ const AttackType::Type type,
+ const int attackId = 1,
+ const int level = 1);
/**
* Handles an attack of another being by this being.
@@ -805,7 +808,8 @@ class Being notfinal : public ActorSprite,
int getHitEffect(const Being *const attacker,
const AttackType::Type type,
- const int attackId) const A_WARN_UNUSED;
+ const int attackId,
+ const int level) const A_WARN_UNUSED;
Cursor::Cursor getHoverCursor() const A_WARN_UNUSED
{ return mInfo ? mInfo->getHoverCursor() : Cursor::CURSOR_POINTER; }