summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJedzkie <jedzkie13@rocketmail.com>2018-04-02 01:29:02 +0800
committerJedzkie <jedzkie13@rocketmail.com>2018-04-08 01:19:30 +0800
commit558f279801089fb374120ae932143f36d123af25 (patch)
tree8ba24c8ae5fa9bcc00b2563528ba7874517ee8b7 /src
parent52bf3551c7ff91668930d43135f29746421316a9 (diff)
downloadhercules-558f279801089fb374120ae932143f36d123af25.tar.gz
hercules-558f279801089fb374120ae932143f36d123af25.tar.bz2
hercules-558f279801089fb374120ae932143f36d123af25.tar.xz
hercules-558f279801089fb374120ae932143f36d123af25.zip
Added new items for item checks
Diffstat (limited to 'src')
-rw-r--r--src/map/itemdb.h3
-rw-r--r--src/map/pc.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/map/itemdb.h b/src/map/itemdb.h
index 5344a7cd6..b170059ca 100644
--- a/src/map/itemdb.h
+++ b/src/map/itemdb.h
@@ -137,6 +137,8 @@ enum item_itemid {
ITEMID_MAGIC_CASTLE = 12308,
ITEMID_BULGING_HEAD = 12309,
ITEMID_THICK_MANUAL50 = 12312,
+ ITEMID_N_FLY_WING = 12323,
+ ITEMID_N_BUTTERFLY_WING = 12324,
ITEMID_N_MAGNIFIER = 12325,
ITEMID_ANSILA = 12333,
ITEMID_REPAIRA = 12392,
@@ -162,6 +164,7 @@ enum item_itemid {
ITEMID_THURISAZ = 12731,
ITEMID_WYRD = 12732,
ITEMID_HAGALAZ = 12733,
+ ITEMID_C_WING_OF_FLY = 12887,
ITEMID_DUN_TELE_SCROLL1 = 14527,
ITEMID_BATTLE_MANUAL25 = 14532,
ITEMID_BATTLE_MANUAL100 = 14533,
diff --git a/src/map/pc.c b/src/map/pc.c
index f6f8f58be..7d2deaa01 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -4949,6 +4949,8 @@ int pc_isUseitem(struct map_session_data *sd,int n)
}
FALLTHROUGH
case ITEMID_WING_OF_FLY:
+ case ITEMID_N_FLY_WING:
+ case ITEMID_C_WING_OF_FLY:
if (map->list[sd->bl.m].flag.noteleport || map_flag_gvg2(sd->bl.m)) {
#if PACKETVER >= 20080311
clif->skill_mapinfomessage(sd, 0);
@@ -4959,6 +4961,7 @@ int pc_isUseitem(struct map_session_data *sd,int n)
}
/* Fall through */
case ITEMID_WING_OF_BUTTERFLY:
+ case ITEMID_N_BUTTERFLY_WING:
case ITEMID_DUN_TELE_SCROLL1:
case ITEMID_DUN_TELE_SCROLL2:
case ITEMID_WOB_RUNE: // Yellow Butterfly Wing