summaryrefslogtreecommitdiffstats
path: root/src/game-server/itemmanager.cpp
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2013-04-27 21:09:23 +0200
committerErik Schilling <ablu.erikschilling@googlemail.com>2013-05-08 14:02:51 +0200
commitcec65058123f710643290c13b7f2b0512b878381 (patch)
tree8130d69617e8da8f1920ae5538a0b5a2d8d1bfd5 /src/game-server/itemmanager.cpp
parent0a1332f04b841bc32e09552665e5cd611fa23ca8 (diff)
downloadmanaserv-cec65058123f710643290c13b7f2b0512b878381.tar.gz
manaserv-cec65058123f710643290c13b7f2b0512b878381.tar.xz
manaserv-cec65058123f710643290c13b7f2b0512b878381.zip
[Abilities] Removed the old autoattack system
As a side effect i had to remove the monster attack AI for now. I will readd this as next thing.
Diffstat (limited to 'src/game-server/itemmanager.cpp')
-rw-r--r--src/game-server/itemmanager.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/game-server/itemmanager.cpp b/src/game-server/itemmanager.cpp
index 05dd0d0..0362c5d 100644
--- a/src/game-server/itemmanager.cpp
+++ b/src/game-server/itemmanager.cpp
@@ -346,12 +346,6 @@ void ItemManager::readEffectNode(xmlNodePtr effectNode, ItemClass *item)
duration),
triggerType.apply, triggerType.dispell);
}
- else if (xmlStrEqual(subNode->name, BAD_CAST "attack"))
- {
- AttackInfo *attackInfo = AttackInfo::readAttackNode(subNode);
- item->addAttack(attackInfo, triggerType.apply, triggerType.dispell);
-
- }
// Having a dispell for the next three is nonsensical.
else if (xmlStrEqual(subNode->name, BAD_CAST "cooldown"))
{