diff options
Diffstat (limited to 'src/net/eathena/skillrecv.cpp')
-rw-r--r-- | src/net/eathena/skillrecv.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/net/eathena/skillrecv.cpp b/src/net/eathena/skillrecv.cpp index 3f22d02bd..06e423865 100644 --- a/src/net/eathena/skillrecv.cpp +++ b/src/net/eathena/skillrecv.cpp @@ -517,7 +517,7 @@ void SkillRecv::processSkillArrowCreateList(Net::MessageIn &msg) msg.readItemId("item id"); } -void SkillRecv::processSkillAutoSpells(Net::MessageIn &msg) +void SkillRecv::processSkillAutoSpells1(Net::MessageIn &msg) { UNIMPLEMENTEDPACKET; @@ -527,6 +527,17 @@ void SkillRecv::processSkillAutoSpells(Net::MessageIn &msg) menu = MenuType::AutoSpell; } +void SkillRecv::processSkillAutoSpells2(Net::MessageIn &msg) +{ + UNIMPLEMENTEDPACKET; + + const int count = (msg.readInt16("len") - 4) / 4; + for (int f = 0; f < count; f ++) + msg.readInt32("skill id"); + + menu = MenuType::AutoSpell; +} + void SkillRecv::processSkillDevotionEffect(Net::MessageIn &msg) { UNIMPLEMENTEDPACKET; |