summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/map.h2
-rw-r--r--src/map/status.c7
2 files changed, 1 insertions, 8 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 49e3b362d..72e076fb4 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -48,7 +48,7 @@
#define MAX_EVENTTIMER 32
#define NATURAL_HEAL_INTERVAL 500
#define MAX_FLOORITEM 500000
-#define MAX_LEVEL 1000
+#define MAX_LEVEL 99
#define MAX_WALKPATH 32
#define MAX_DROP_PER_MAP 48
#define MAX_IGNORE_LIST 80
diff --git a/src/map/status.c b/src/map/status.c
index a2a0ad8f7..2e1c45833 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -4425,19 +4425,12 @@ int status_get_sc_def(struct block_list *bl, int type)
case SC_STONE:
case SC_FREEZE:
case SC_DECREASEAGI:
- case SC_COMA:
- sc_def = 300 +100*status->mdef;
- break;
case SC_CURSE:
if (status->luk > status_get_lv(bl))
return 10000; //Special property: inmunity when luk is greater than level
else
sc_def = 300 +100*status->luk;
break;
- case SC_COMA:
- //TODO: Need actual data on rate reductions.
- sc_def = 100*status->luk;
- break;
case SC_BLIND: //TODO: These 50/50 factors are guessed. Need to find actual value.
sc_def = 300 +50*status->vit +50*status->int_;
break;