Browse Source

Fixed Bragi's aftercast delay reduction

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11425 54d463be-8e91-2dee-dedb-b68131a5f0ec
Playtester 17 years ago
parent
commit
513052b002
2 changed files with 5 additions and 3 deletions
  1. 2 0
      Changelog-Trunk.txt
  2. 3 3
      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.
 
+2007/10/12
+	* Fixed Bragi's aftercast delay reduction [Playtester]
 2007/10/10
 	* Fixed itemdb_read_sqldb blowing up the server with segmentation faults.
 	* Added an option for parse_script to ignore the checks for the set of 

+ 3 - 3
src/map/skill.c

@@ -6848,10 +6848,10 @@ struct skill_unit_group *skill_unitsetting (struct block_list *src, int skillid,
 	case BA_POEMBRAGI:
 		val1 = 3*skilllv+status->dex/10; // Casting time reduction
 		//For some reason at level 10 the base delay reduction is 50%.
-		val2 = (skilllv<10?3*skilllv:50)+status->int_/10; // After-cast delay reduction
+		val2 = (skilllv<10?3*skilllv:50)+status->int_/5; // After-cast delay reduction
 		if(sd){
-			val1 += pc_checkskill(sd,BA_MUSICALLESSON);
-			val2 += pc_checkskill(sd,BA_MUSICALLESSON);
+			val1 += 2*pc_checkskill(sd,BA_MUSICALLESSON);
+			val2 += 2*pc_checkskill(sd,BA_MUSICALLESSON);
 		}
 		break;
 	case DC_DONTFORGETME: