summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;