diff options
author | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-15 05:55:55 +0000 |
---|---|---|
committer | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-15 05:55:55 +0000 |
commit | 1838d7a34123b596a9a8411da5991a91f49ea713 (patch) | |
tree | 6892705ab586d21e2f72f4b47f3c191aa49c1e3d /src/map/status.c | |
parent | 287a334c7905a788f182d5e3e8d70281bb69d9f0 (diff) | |
download | hercules-1838d7a34123b596a9a8411da5991a91f49ea713.tar.gz hercules-1838d7a34123b596a9a8411da5991a91f49ea713.tar.bz2 hercules-1838d7a34123b596a9a8411da5991a91f49ea713.tar.xz hercules-1838d7a34123b596a9a8411da5991a91f49ea713.zip |
Implemented new skill "Enlarge Weight Limit R", and increased MAX_SKILL_TREE by 1.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11476 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c index 36333aac4..defef4f27 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -2232,6 +2232,8 @@ int status_calc_pc(struct map_session_data* sd,int first) sd->max_weight += 10000; if(sd->sc.data[SC_KNOWLEDGE].timer != -1) sd->max_weight += sd->max_weight*sd->sc.data[SC_KNOWLEDGE].val1/10; + if((skill=pc_checkskill(sd,ALL_INCCARRY))>0) + sd->max_weight += 2000*skill; if (pc_checkskill(sd,SM_MOVINGRECOVERY)>0) sd->regen.state.walk = 1; |