diff options
author | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-09-10 14:30:25 +0000 |
---|---|---|
committer | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-09-10 14:30:25 +0000 |
commit | d3f9255b3d67e570a7784b44b151ed15198425ee (patch) | |
tree | b48e75936e8b77b61d3f65b8b972556ac511d0c4 /src/map/pc.c | |
parent | e02e0c5cba6e83986da6fdce9c69a9201f9a271f (diff) | |
download | hercules-d3f9255b3d67e570a7784b44b151ed15198425ee.tar.gz hercules-d3f9255b3d67e570a7784b44b151ed15198425ee.tar.bz2 hercules-d3f9255b3d67e570a7784b44b151ed15198425ee.tar.xz hercules-d3f9255b3d67e570a7784b44b151ed15198425ee.zip |
- Full implementation of mercenary skills.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13203 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index eb8e87159..debc3361f 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -3155,6 +3155,8 @@ int pc_isUseitem(struct map_session_data *sd,int n) case 12243: // Mercenary's Berserk Potion if( sd->md == NULL || sd->md->db == NULL ) return 0; + if( sd->md->sc.data[SC_BERSERK] ) + return 0; if( nameid == 12242 && sd->md->db->lv < 40 ) return 0; if( nameid == 12243 && sd->md->db->lv < 80 ) |