summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-24 18:13:51 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-24 18:13:51 +0000
commitfb28d322b3bd688df3bc8491f384511f03f06289 (patch)
treee14e2cc217e08e7c9da1f7247a1bf6b2f8200e3a /src/map/status.c
parent1a3010d754c8ef6b28954624adefec919919a663 (diff)
downloadhercules-fb28d322b3bd688df3bc8491f384511f03f06289.tar.gz
hercules-fb28d322b3bd688df3bc8491f384511f03f06289.tar.bz2
hercules-fb28d322b3bd688df3bc8491f384511f03f06289.tar.xz
hercules-fb28d322b3bd688df3bc8491f384511f03f06289.zip
- Removed again your mdef reducing "petrifying" time as apparently it can't be reduced by mdef.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9059 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/map/status.c b/src/map/status.c
index c46d16a01..26e13b401 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -4498,9 +4498,6 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
if (!(rand()%10000 < rate))
return 0;
- //Need to store resistance so the petrifying time can also be reduced. [Skotlex]
- if (type == SC_STONE)
- val4 = def;
}
undead_flag=battle_check_undead(status->race,status->def_ele);
@@ -4997,11 +4994,6 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
val3 = tick/1000; //Petrified HP-damage iterations.
if(val3 < 1) val3 = 1;
tick = 5000; //Petrifying time.
- if (val4)
- { //Apply duration resist to petrifying time as well.
- tick -= tick*val4/10000;
- val4 = 0; //Is later used as a tick-damage counter.
- }
calc_flag = 0; //Actual status changes take effect on petrified state.
break;