summaryrefslogtreecommitdiff
path: root/src/map/itemdb.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-09-28 12:49:51 -0300
committershennetsind <ind@henn.et>2013-09-28 12:49:51 -0300
commit8bed1531de1deceae20e09bc2d59470f586a94f6 (patch)
tree5909c98606ebb26a70c15e16b6a26c8cac081088 /src/map/itemdb.c
parente4b0f270ad0fabab869c1a803fa8e4a73f198760 (diff)
parentf8f073bc7ebd1bc5cf19e8ea9b72a54bba7fab8b (diff)
downloadhercules-8bed1531de1deceae20e09bc2d59470f586a94f6.tar.gz
hercules-8bed1531de1deceae20e09bc2d59470f586a94f6.tar.bz2
hercules-8bed1531de1deceae20e09bc2d59470f586a94f6.tar.xz
hercules-8bed1531de1deceae20e09bc2d59470f586a94f6.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/map/itemdb.c')
-rw-r--r--src/map/itemdb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c
index ee0eea5ff..f7ee8a884 100644
--- a/src/map/itemdb.c
+++ b/src/map/itemdb.c
@@ -354,7 +354,10 @@ void itemdb_jobid2mapid(unsigned int *bclass, unsigned int jobmask)
if (jobmask & 1<<23) //Soul Linker
bclass[2] |= 1<<MAPID_TAEKWON;
if (jobmask & 1<<JOB_GUNSLINGER)
+ {//Rebellion job can equip Gunslinger equips. [Rytech]
bclass[0] |= 1<<MAPID_GUNSLINGER;
+ bclass[1] |= 1<<MAPID_GUNSLINGER;
+ }
if (jobmask & 1<<JOB_NINJA)
{bclass[0] |= 1<<MAPID_NINJA;
bclass[1] |= 1<<MAPID_NINJA;}//Kagerou/Oboro jobs can equip Ninja equips. [Rytech]
@@ -366,6 +369,8 @@ void itemdb_jobid2mapid(unsigned int *bclass, unsigned int jobmask)
bclass[2] |= 1<<MAPID_GANGSI;
if (jobmask & 1<<29) //Kagerou / Oboro
bclass[1] |= 1<<MAPID_NINJA;
+ if (jobmask & 1<<30) //Rebellion
+ bclass[1] |= 1<<MAPID_GUNSLINGER;
}
void create_dummy_data(void)