summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/skill.c2
-rw-r--r--src/map/status.c8
3 files changed, 3 insertions, 9 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 5a00488fd..080fb6838 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/10/24
+ * Removed again your mdef reducing "petrifying" time as apparently it can't
+ be reduced by mdef. [Skotlex]
* Cleaned up the "show_steal_in_party" setting so it only takes effect when
the item was successfully stolen (there was no point in telling you the
item couldn't be stolen due to being overweight) [Skotlex]
diff --git a/src/map/skill.c b/src/map/skill.c
index 52f410133..fb5dd2042 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -8603,7 +8603,7 @@ int skill_delayfix (struct block_list *bl, int skill_id, int skill_lv)
break;
default:
if (battle_config.delay_dependon_agi && !(delaynochange&1))
- { // if skill casttime is allowed to be reduced by dex
+ { // if skill casttime is allowed to be reduced by agi
int scale = battle_config.castrate_dex_scale - status_get_agi(bl);
if (scale > 0)
time = time * scale / battle_config.castrate_dex_scale;
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;