Bläddra i källkod

homun skill exploit

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8911 54d463be-8e91-2dee-dedb-b68131a5f0ec
Lupus 18 år sedan
förälder
incheckning
ba7f482666
2 ändrade filer med 3 tillägg och 1 borttagningar
  1. 2 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/skill.c

+ 2 - 0
Changelog-Trunk.txt

@@ -3,6 +3,8 @@ 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.
 
+2006/10/01
+	* Fixed humunculi skill exploit, thanks to mr.rkit [Lupus]
 2006/09/30
 	* Rewrote the txt->sql converter. It now links directly to the char server
 	  files so that it should get auto-updated with any code changes in the

+ 1 - 1
src/map/skill.c

@@ -2375,7 +2375,7 @@ static int skill_check_condition_hom (struct homun_data *hd, int skill, int lv,
 
 	switch(skill) { // Check for cost reductions due to skills & SCs
 		case HFLI_SBR44:
-			if(sd->homunculus.intimacy < 200)
+			if(sd->homunculus.intimacy <= 200)
 				return 0;
 			break;
 		case HVAN_EXPLOSION: