Forráskód Böngészése

* 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://svn.code.sf.net/p/rathena/svn/trunk@11500 54d463be-8e91-2dee-dedb-b68131a5f0ec

Playtester 17 éve
szülő
commit
6c04229cb6
2 módosított fájl, 4 hozzáadás és 1 törlés
  1. 3 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/skill.c

+ 3 - 0
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)

+ 1 - 1
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