summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-07 14:35:24 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-07 14:35:24 +0000
commit3129c09e75f844e80f4a3b28f09b7bf3b81cdb0e (patch)
tree124a68350d11a4eeeb2d0ce7e904099197d627f9
parent32d5d6568057bf8a832e2c8566f3e4147544063b (diff)
downloadhercules-3129c09e75f844e80f4a3b28f09b7bf3b81cdb0e.tar.gz
hercules-3129c09e75f844e80f4a3b28f09b7bf3b81cdb0e.tar.bz2
hercules-3129c09e75f844e80f4a3b28f09b7bf3b81cdb0e.tar.xz
hercules-3129c09e75f844e80f4a3b28f09b7bf3b81cdb0e.zip
- Adjusted several sc rate/time reductions as pointed out by Playtester.
- Luk now plays a luk/10 reduction role rather than a luk/3 one. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7032 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt3
-rw-r--r--src/map/status.c20
2 files changed, 10 insertions, 13 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index e97d79321..df497b983 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,9 @@ 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/06/07
+ * Adjusted several sc rate/time reductions as pointed out by Playtester.
+ [Skotlex]
+ - Luk now plays a luk/10 reduction role rather than a luk/3 one.
* Removed char_nick2id from char-sql server as it's no longer needed.
[Skotlex]
* Fixed quitting the map server not properly saving the storage before
diff --git a/src/map/status.c b/src/map/status.c
index 7b93785e7..e8af8aa6b 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -3833,24 +3833,24 @@ int status_get_sc_def(struct block_list *bl, int type)
case SC_FREEZE:
case SC_DECREASEAGI:
case SC_COMA:
- sc_def = 300 +100*status->mdef +33*status->luk;
+ sc_def = 300 +100*status->mdef +10*status->luk;
break;
case SC_SLEEP:
case SC_CONFUSION:
- sc_def = 300 +100*status->int_ +33*status->luk;
+ sc_def = 300 +100*status->int_ +10*status->luk;
break;
case SC_STUN:
case SC_POISON:
case SC_DPOISON:
case SC_SILENCE:
case SC_BLEEDING:
- sc_def = 300 +100*status->vit +33*status->luk;
+ sc_def = 300 +100*status->vit +10*status->luk;
break;
case SC_BLIND:
- sc_def = 300 +100*status->int_ +33*status->vit;
+ sc_def = 300 +100*status->int_ +10*status->vit;
break;
case SC_CURSE:
- sc_def = 300 +100*status->luk +33*status->vit;
+ sc_def = 300 +100*status->luk +10*status->vit;
break;
default:
return 0; //Effect that cannot be reduced? Likely a buff.
@@ -3909,13 +3909,12 @@ int status_get_sc_tick(struct block_list *bl, int type, int tick)
case SC_FREEZE:
rate = 100*status->mdef;
break;
- case SC_STUN: //Reduction in duration is the same as reduction in rate.
- rate = 300 +100*status->vit;
- break;
+ case SC_STUN:
case SC_DPOISON:
case SC_POISON:
rate = 100*status->vit + 20*status->luk;
break;
+ case SC_BLEEDING:
case SC_SILENCE:
case SC_CONFUSION:
case SC_CURSE:
@@ -3923,11 +3922,6 @@ int status_get_sc_tick(struct block_list *bl, int type, int tick)
break;
case SC_BLIND:
rate = 10*status_get_lv(bl) + 7*status->int_;
- min = 5000; //Minimum 5 secs?
- break;
- case SC_BLEEDING:
- rate = 20*status_get_lv(bl) +100*status->vit;
- min = 10000; //Need a min of 10 secs for it to hurt at least once.
break;
case SC_SWOO:
if (status->mode&MD_BOSS)