diff options
author | technote24 <technote24@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-04-20 13:06:34 +0000 |
---|---|---|
committer | technote24 <technote24@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-04-20 13:06:34 +0000 |
commit | 1b3bd9ff1725a68d66fd4015c60d6fe28e4b2334 (patch) | |
tree | ae2b21a31c0beb629068355d3e12e659e7ec263d /src/map/itemdb.c | |
parent | cbd95cc5a9a8c9af49d5d2f096ece46bf4d69071 (diff) | |
download | hercules-1b3bd9ff1725a68d66fd4015c60d6fe28e4b2334.tar.gz hercules-1b3bd9ff1725a68d66fd4015c60d6fe28e4b2334.tar.bz2 hercules-1b3bd9ff1725a68d66fd4015c60d6fe28e4b2334.tar.xz hercules-1b3bd9ff1725a68d66fd4015c60d6fe28e4b2334.zip |
=General
*Added CANNONBALL and THROWWEAPON item types as ammo types.
-IT_THROWWEAPON will be removed soon as all ammo equiptable
-items should be fully treated as ammo type in rAthena and
-not as a item type.
=Jobs
*Added a config to set max stat limit for baby 3rd's. Default is 108.
*Kagerou/Oboro stat limit is now set to whatever the limit is set to for 3rd jobs.
-Which is the default 120.
*Added item job masks for Gangsi, Death Knight, Dark Collector, and Kagerou/Oboro.
-Note: Backwards compatibility was added to allow Kagerou/Oboro to use all the equips
-the Ninja job can use to prevent needing to edit a chunk of the item database.
-The job also has its own exclusive mask which will be used on their exclusive equips soon.
*Kagerou/Oboro jobs can now duel weld daggers.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15882 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/itemdb.c')
-rw-r--r-- | src/map/itemdb.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c index d2386cad0..44a296bb0 100644 --- a/src/map/itemdb.c +++ b/src/map/itemdb.c @@ -259,7 +259,16 @@ static void itemdb_jobid2mapid(unsigned int *bclass, unsigned int jobmask) if (jobmask & 1<<JOB_GUNSLINGER) bclass[0] |= 1<<MAPID_GUNSLINGER; if (jobmask & 1<<JOB_NINJA) - bclass[0] |= 1<<MAPID_NINJA; + {bclass[0] |= 1<<MAPID_NINJA; + bclass[1] |= 1<<MAPID_NINJA;}//Kagerou/Oboro jobs can equip Ninja equips. [Rytech] + if (jobmask & 1<<26) //Bongun/Munak + bclass[0] |= 1<<MAPID_GANGSI; + if (jobmask & 1<<27) //Death Knight + bclass[1] |= 1<<MAPID_GANGSI; + if (jobmask & 1<<28) //Dark Collector + bclass[2] |= 1<<MAPID_GANGSI; + if (jobmask & 1<<29) //Kagerou / Oboro + bclass[1] |= 1<<MAPID_NINJA; } static void create_dummy_data(void) |