summaryrefslogtreecommitdiff
path: root/src/map/itemdb.c
diff options
context:
space:
mode:
authorshennetsind <notind@gmail.com>2013-09-28 04:23:56 -0700
committershennetsind <notind@gmail.com>2013-09-28 04:23:56 -0700
commit71af4a3caa5c09d38fc6ea99ca3ca3bc3cc280ce (patch)
tree2c46f0a5ac28f67931433de0f3b18dd0aa6e7d73 /src/map/itemdb.c
parent346ea5f138e5baee36cf1e986c12fff84277f4ca (diff)
parent7d8f83d8ff360df4c2b960933c015117eb9d776b (diff)
downloadhercules-71af4a3caa5c09d38fc6ea99ca3ca3bc3cc280ce.tar.gz
hercules-71af4a3caa5c09d38fc6ea99ca3ca3bc3cc280ce.tar.bz2
hercules-71af4a3caa5c09d38fc6ea99ca3ca3bc3cc280ce.tar.xz
hercules-71af4a3caa5c09d38fc6ea99ca3ca3bc3cc280ce.zip
Merge pull request #161 from shenhuyong/master
Added full support for the Rebellion.
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)