summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authoreathenabot <eathenabot@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-05-31 05:36:21 +0000
committereathenabot <eathenabot@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-05-31 05:36:21 +0000
commit217c2be1cd48fba3b327931526a8d1a070583cf0 (patch)
tree9c9793718a591d30d918622f1f87a54dbe56e11b /src/map/clif.c
parentb258a76313a6273c645d419eb360468a78840200 (diff)
downloadhercules-217c2be1cd48fba3b327931526a8d1a070583cf0.tar.gz
hercules-217c2be1cd48fba3b327931526a8d1a070583cf0.tar.bz2
hercules-217c2be1cd48fba3b327931526a8d1a070583cf0.tar.xz
hercules-217c2be1cd48fba3b327931526a8d1a070583cf0.zip
* Merged changes up to eAthena 15112.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16176 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 56f1deb6d..cc1e26fed 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -5800,6 +5800,20 @@ void clif_item_repaireffect(struct map_session_data *sd,int nameid,int flag)
}
+/// Displays a message, that an equipment got damaged (ZC_EQUIPITEM_DAMAGED).
+/// 02bb <equip location>.W <account id>.L
+void clif_item_damaged(struct map_session_data* sd, unsigned short position)
+{
+ int fd = sd->fd;
+
+ WFIFOHEAD(fd,packet_len(0x2bb));
+ WFIFOW(fd,0) = 0x2bb;
+ WFIFOW(fd,2) = position;
+ WFIFOL(fd,4) = sd->bl.id; // TODO: the packet seems to be sent to other people as well, probably party and/or guild.
+ WFIFOSET(fd,packet_len(0x2bb));
+}
+
+
/// Presents a list of weapon items that can be refined [Taken from jAthena] (ZC_NOTIFY_WEAPONITEMLIST).
/// 0221 <packet len>.W { <index>.W <name id>.W <refine>.B <card1>.W <card2>.W <card3>.W <card4>.W }*
void clif_item_refine_list(struct map_session_data *sd)
@@ -16256,7 +16270,7 @@ static int packetdb_readdb(void)
#endif
0, 4, 0, 70, 10, 0, 0, 0, 8, 6, 27, 80, 0, -1, 0, 0,
0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 85, -1, -1,107, 6, -1, 7, 7, 22,191, 0, 0, 0, 0, 0, 0,
+ 85, -1, -1,107, 6, -1, 7, 7, 22,191, 0, 8, 0, 0, 0, 0,
//#0x02C0
0, -1, 0, 0, 0, 30, 30, 0, 0, 3, 0, 65, 4, 71, 10, 0,
-1, -1, -1, 0, 29, 0, 6, -1, 10, 10, 3, 0, -1, 32, 6, 36,