From 8982c119eaaa031bbdd70798a077c14b5bc183c1 Mon Sep 17 00:00:00 2001 From: Playtester Date: Wed, 17 Oct 2007 16:55:06 +0000 Subject: * 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 --- Changelog-Trunk.txt | 3 +++ src/map/skill.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 -#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 -- cgit v1.2.3-70-g09d2