summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-26 10:15:04 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-26 10:15:04 +0000
commitb1305dc1d585c18c2755ab65bc968649d6eb3ec2 (patch)
tree787e617594bd5a349fae4a6f1e36d49af2af427c /src/map/status.c
parent4b725ec2c484f73f4474f998fda27f59a624c10d (diff)
downloadhercules-b1305dc1d585c18c2755ab65bc968649d6eb3ec2.tar.gz
hercules-b1305dc1d585c18c2755ab65bc968649d6eb3ec2.tar.bz2
hercules-b1305dc1d585c18c2755ab65bc968649d6eb3ec2.tar.xz
hercules-b1305dc1d585c18c2755ab65bc968649d6eb3ec2.zip
- Changed MAX_LEVEL to the standard value 99. Memory consumption-= 55MB. (high-rate servers will have to change this)
- Corrected SC_COMA's success chance (X.4 says it's unconditional 100%) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10071 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c7
1 files changed, 0 insertions, 7 deletions
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;