summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-24 19:33:37 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-24 19:33:37 +0000
commit34a1a63f26ecc52c524183e6aa477ebfc5dab904 (patch)
tree4da6076ebc49228099c95e6306720cf9ff02b4bc /src/map/clif.c
parent6240fbceaa9a5f366bfcf7b95c3dd959ec04e60c (diff)
downloadhercules-34a1a63f26ecc52c524183e6aa477ebfc5dab904.tar.gz
hercules-34a1a63f26ecc52c524183e6aa477ebfc5dab904.tar.bz2
hercules-34a1a63f26ecc52c524183e6aa477ebfc5dab904.tar.xz
hercules-34a1a63f26ecc52c524183e6aa477ebfc5dab904.zip
- NPC_MAGICALATTACK now starts a state similar to Sacrificial Ritual, in the sense that every normal attack afterwards becomes a Magical Attack. The skill duration is 15 secs.
- Corrected some trade-cancel calls in trade_traderequest. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10346 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index f3d18b702..5dd222ebd 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -53,7 +53,7 @@ struct Clif_Config {
struct packet_db packet_db[MAX_PACKET_VER + 1][MAX_PACKET_DB + 1];
//Converts item type in case of pet eggs.
-#define itemtype(a) (a == 7)?4:a
+#define itemtype(a) (a == IT_PETEGG)?IT_WEAPON:a
#define WBUFPOS(p,pos,x,y,dir) \
do { \