summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-04 13:46:18 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-04 13:46:18 +0000
commit27a5d42f229472e711944c19dc8cf62acc32361b (patch)
tree18d23f583a6f4e3c27cb64bfa10170f6df7e3e89
parent4a218362a21ba01c5d7d3c027cfa29e10c91ec4c (diff)
downloadhercules-27a5d42f229472e711944c19dc8cf62acc32361b.tar.gz
hercules-27a5d42f229472e711944c19dc8cf62acc32361b.tar.bz2
hercules-27a5d42f229472e711944c19dc8cf62acc32361b.tar.xz
hercules-27a5d42f229472e711944c19dc8cf62acc32361b.zip
- Corrected song/dances/encores reducing SP at the incorrect intervals (either never, or every second)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10152 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt3
-rw-r--r--src/map/status.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 4f356bedb..e6410a1bb 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -3,6 +3,9 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
+2007/04/05
+ * Corrected song/dances/encores reducing SP at the incorrect intervals
+ (either never, or every second).
2007/04/04
* Corrected Longing for Freedom, it should triple SP cost rather than
modifying SP cost to 1/sec
diff --git a/src/map/status.c b/src/map/status.c
index ece5fef5f..2b7dc2e09 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -6752,7 +6752,7 @@ int status_change_timer(int tid, unsigned int tick, int id, int data)
s=10;
break;
}
- if (s && ((sc->data[type].val3 % s) == 0)) {
+ if (s && (counter%s == 0)) {
if (sc->data[SC_LONGING].timer != -1)
sp*= 3;
if (!status_charge(bl, 0, sp))