diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-02 12:59:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-02 13:00:12 +0300 |
commit | ddb66943018528128b65f2d9967ad2393c3f2863 (patch) | |
tree | 54d96de5c992a0d579beaf9011a45ff581aa3570 /src/net/eathena | |
parent | 4c1cb87be37fca0e44416a32126e49851c2bae08 (diff) | |
download | manaverse-ddb66943018528128b65f2d9967ad2393c3f2863.tar.gz manaverse-ddb66943018528128b65f2d9967ad2393c3f2863.tar.bz2 manaverse-ddb66943018528128b65f2d9967ad2393c3f2863.tar.xz manaverse-ddb66943018528128b65f2d9967ad2393c3f2863.zip |
eathena: add missing attack types.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index 366bddf85..7db7f0e80 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -1559,8 +1559,12 @@ void BeingHandler::processBeingAction2(Net::MessageIn &msg) const case Being::HIT: // Damage case Being::CRITICAL: // Critical Damage case Being::MULTI: // Critical Damage + case Being::MULTI_REFLECT: case Being::REFLECT: // Reflected Damage case Being::FLEE: // Lucky Dodge + case Being::SPLASH: + case Being::SKILL: + case Being::REPEATE: if (srcBeing) { if (srcSpeed && srcBeing->getType() == ActorType::Player) @@ -1577,13 +1581,13 @@ void BeingHandler::processBeingAction2(Net::MessageIn &msg) const } break; - case 0x01: // dead or pickup? + case Being::PICKUP: break; - // tmw server can send here garbage? -// if (srcBeing) -// srcBeing->setAction(BeingAction::DEAD, 0); - case 0x02: // Sit + case Being::TOUCH_SKILL: + break; + + case Being::SIT: if (srcBeing) { srcBeing->setAction(BeingAction::SIT, 0); @@ -1596,7 +1600,7 @@ void BeingHandler::processBeingAction2(Net::MessageIn &msg) const } break; - case 0x03: // Stand up + case Being::STAND: if (srcBeing) { srcBeing->setAction(BeingAction::STAND, 0); |