summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-15 05:55:55 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-15 05:55:55 +0000
commit1838d7a34123b596a9a8411da5991a91f49ea713 (patch)
tree6892705ab586d21e2f72f4b47f3c191aa49c1e3d /src/map
parent287a334c7905a788f182d5e3e8d70281bb69d9f0 (diff)
downloadhercules-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')
-rw-r--r--src/map/pc.h4
-rw-r--r--src/map/skill.c1
-rw-r--r--src/map/skill.h2
-rw-r--r--src/map/status.c2
4 files changed, 7 insertions, 2 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index fcf3665f9..b8169e954 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -11,8 +11,8 @@
#include "status.h" // OPTION_*
#include "unit.h" // unit_stop_attack(), unit_stop_walking()
-//Update this max as necessary. 53 is the value needed for Super Baby currently
-#define MAX_SKILL_TREE 53
+//Update this max as necessary. 54 is the value needed for Super Baby currently
+#define MAX_SKILL_TREE 54
enum {
W_FIST, //Bare hands
diff --git a/src/map/skill.c b/src/map/skill.c
index 3b95d257d..20f40315c 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -52,6 +52,7 @@ const struct skill_name_db skill_names[] = {
{ AC_SHOWER, "AC_SHOWER", "Arrow Shower" } ,
{ AC_VULTURE, "AC_VULTURE", "Vulture's Eye" } ,
{ ALL_RESURRECTION, "ALL_RESURRECTION", "Resurrection" } ,
+ { ALL_INCCARRY, "ALL_INCCARRY", "Enlarge Weight Limit R" } ,
{ AL_ANGELUS, "AL_ANGELUS", "Angelus" } ,
{ AL_BLESSING, "AL_BLESSING", "Blessing" } ,
{ AL_CRUCIS, "AL_CRUCIS", "Signum Crusis" } ,
diff --git a/src/map/skill.h b/src/map/skill.h
index 9905c761b..1025e4aea 100644
--- a/src/map/skill.h
+++ b/src/map/skill.h
@@ -894,6 +894,8 @@ enum _skill {
NPC_VAMPIRE_GIFT,
NPC_WIDESOULDRAIN,
+ ALL_INCCARRY = 681,
+
KN_CHARGEATK = 1001,
CR_SHRINK,
AS_SONICACCEL,
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;