summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-11-03 04:50:30 +0300
committerAndrei Karas <akaras@inbox.ru>2016-11-03 17:12:49 +0300
commitcb030a9fe3e78df4215836c2a2c4e7f9ee75b88e (patch)
tree023468a2535a9f9c25213aac88a7d2af806d0bee /src
parent7aafe2aaa6706a396ce7dfd7b1f23f5e34b5b8ab (diff)
downloadhercules-cb030a9fe3e78df4215836c2a2c4e7f9ee75b88e.tar.gz
hercules-cb030a9fe3e78df4215836c2a2c4e7f9ee75b88e.tar.bz2
hercules-cb030a9fe3e78df4215836c2a2c4e7f9ee75b88e.tar.xz
hercules-cb030a9fe3e78df4215836c2a2c4e7f9ee75b88e.zip
Fix version for packet 0x08cf ZC_SPIRITS_ATTRIBUTE.
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c4
-rw-r--r--src/map/packets.h8
2 files changed, 9 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 4d526a538..bc01b5c5a 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -1360,7 +1360,7 @@ void clif_spiritball_single(int fd, struct map_session_data *sd) {
*------------------------------------------*/
void clif_charm_single(int fd, struct map_session_data *sd)
{
-#if PACKETVER >= 20120410
+#if PACKETVER >= 20110809
nullpo_retv(sd);
WFIFOHEAD(fd, packet_len(0x08cf));
WFIFOW(fd,0) = 0x08cf;
@@ -17497,7 +17497,7 @@ void clif_parse_SkillSelectMenu(int fd, struct map_session_data *sd) {
*------------------------------------------*/
void clif_charm(struct map_session_data *sd)
{
-#if PACKETVER >= 20120410
+#if PACKETVER >= 20110809
unsigned char buf[10];
nullpo_retv(sd);
diff --git a/src/map/packets.h b/src/map/packets.h
index 51400a4bf..57baa457e 100644
--- a/src/map/packets.h
+++ b/src/map/packets.h
@@ -1949,6 +1949,13 @@ packet(0x96e,-1,clif->ackmergeitems);
packet(0x09dc,2); // unknown
#endif
+// 2011-08-09aRagexe
+#if PACKETVER >= 20110809
+// shuffle packets not added
+// new packets
+ packet(0x08cf,10); // ZC_SPIRITS_ATTRIBUTE
+#endif
+
//2011-10-05aRagexeRE
#if PACKETVER >= 20111005
packet(0x0364,5,clif->pWalkToXY,2);
@@ -2095,7 +2102,6 @@ packet(0x96e,-1,clif->ackmergeitems);
packet(0x08FB,6,clif->pDull,2); //bookingcanceljoinparty
packet(0x0907,5,clif->pMoveItem,2,4);
packet(0x0908,5);
- packet(0x08CF,10);//Amulet spirits
packet(0x0977,14);//Monster HP Bar
#endif