summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-09 16:56:33 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-09 17:01:31 +0300
commit8071fcbf88095bcaf54742062a4ebde87a801fd0 (patch)
treef40dd9a936e105dcbbb28a5a519889264ad86f52 /src/being/being.cpp
parent53bcb5fd2f680d9a3be9f56e5fab420d83746b00 (diff)
downloadplus-8071fcbf88095bcaf54742062a4ebde87a801fd0.tar.gz
plus-8071fcbf88095bcaf54742062a4ebde87a801fd0.tar.bz2
plus-8071fcbf88095bcaf54742062a4ebde87a801fd0.tar.xz
plus-8071fcbf88095bcaf54742062a4ebde87a801fd0.zip
Allow select skill units and attack it.
Also add key for select skill unit.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 3edd7c70f..1f3a35844 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -699,9 +699,11 @@ void Being::takeDamage(Being *restrict const attacker,
}
else if (mType == ActorType::Monster
#ifdef EATHENA_SUPPORT
- || mType == ActorType::Mercenary
- || mType == ActorType::Pet
- || mType == ActorType::Homunculus
+ ||
+ mType == ActorType::Mercenary ||
+ mType == ActorType::Pet ||
+ mType == ActorType::Homunculus ||
+ mType == ActorType::SkillUnit
#endif
)
{