summaryrefslogtreecommitdiff
path: root/src/resources
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/resources
parent53bcb5fd2f680d9a3be9f56e5fab420d83746b00 (diff)
downloadmanaverse-8071fcbf88095bcaf54742062a4ebde87a801fd0.tar.gz
manaverse-8071fcbf88095bcaf54742062a4ebde87a801fd0.tar.bz2
manaverse-8071fcbf88095bcaf54742062a4ebde87a801fd0.tar.xz
manaverse-8071fcbf88095bcaf54742062a4ebde87a801fd0.zip
Allow select skill units and attack it.
Also add key for select skill unit.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/db/skillunitdb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/db/skillunitdb.cpp b/src/resources/db/skillunitdb.cpp
index c59f6f616..f77e3f3a2 100644
--- a/src/resources/db/skillunitdb.cpp
+++ b/src/resources/db/skillunitdb.cpp
@@ -101,9 +101,9 @@ void SkillUnitDb::loadXmlFile(const std::string &fileName)
"name", _("skill")));
currentInfo->setTargetSelection(XML::getBoolProperty(skillUnitNode,
- "targetSelection", false));
+ "targetSelection", true));
- BeingCommon::readBasicAttributes(currentInfo, skillUnitNode, "talk");
+ BeingCommon::readBasicAttributes(currentInfo, skillUnitNode, "attack");
currentInfo->setDeadSortOffsetY(XML::getProperty(skillUnitNode,
"deadSortOffsetY", 31));