From e5598d8183f8b5a015bade5d61a41e054311d5ec Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 12 Sep 2016 16:39:38 +0300 Subject: Add packet SMSG_SKILL_NO_DAMAGE 0x09cb. --- src/net/ea/beingrecv.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/net/ea/beingrecv.cpp') diff --git a/src/net/ea/beingrecv.cpp b/src/net/ea/beingrecv.cpp index bc1229b5d..63d025556 100644 --- a/src/net/ea/beingrecv.cpp +++ b/src/net/ea/beingrecv.cpp @@ -380,7 +380,11 @@ void BeingRecv::processPlayerMoveToAttack(Net::MessageIn &msg) void BeingRecv::processSkillNoDamage(Net::MessageIn &msg) { const int id = msg.readInt16("skill id"); - const int heal = msg.readInt16("heal"); + int heal; + if (msg.getVersion() >= 20131223) + heal = msg.readInt32("heal"); + else + heal = msg.readInt16("heal"); Being *const dstBeing = actorManager->findBeing( msg.readBeingId("dst being id")); Being *const srcBeing = actorManager->findBeing( -- cgit v1.2.3-60-g2f50