summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPlaytester <Playtester@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-17 16:55:06 +0000
committerPlaytester <Playtester@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-17 16:55:06 +0000
commit8982c119eaaa031bbdd70798a077c14b5bc183c1 (patch)
treef429f37697ad262ea42a8aa7fb1327a996afb0ed
parentffe08e80828f0f8f92c7ae2b94a29eca4ab3efc8 (diff)
downloadhercules-8982c119eaaa031bbdd70798a077c14b5bc183c1.tar.gz
hercules-8982c119eaaa031bbdd70798a077c14b5bc183c1.tar.bz2
hercules-8982c119eaaa031bbdd70798a077c14b5bc183c1.tar.xz
hercules-8982c119eaaa031bbdd70798a077c14b5bc183c1.zip
* Ground skill now can trigger every 20ms
- Firewall, Fire Formation and Heat now can do 50 hits a second - this was proven to be official behavior, but it will raise CPU usage git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11500 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt3
-rw-r--r--src/map/skill.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 19d49bb7c..cd434a8e3 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.
2007/10/17
+ * Ground skill now can trigger every 20ms [Playtester]
+ - Firewall, Fire Formation and Heat now can do 50 hits a second
+ - this was proven to be official behavior, but it will raise CPU usage
* small timer.c cleaning
- removed "with less than 4 values, it's speedier to use a simple loop"
as this case will never occur (premature optimization from r1284)
diff --git a/src/map/skill.c b/src/map/skill.c
index 2d3f83ee1..4651f035a 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -36,7 +36,7 @@
#include <time.h>
-#define SKILLUNITTIMER_INVERVAL 100
+#define SKILLUNITTIMER_INVERVAL 20
//Guild Skills are shifted to these to make them stick into the skill array.
#define GD_SKILLRANGEMIN 900
#define GD_SKILLRANGEMAX GD_SKILLRANGEMIN+MAX_GUILDSKILL