فهرست منبع

- Fixed the inverted behavior of display_skill_fail, caused by r9823
- Commented out some duplicit homunculus speed calc code

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9852 54d463be-8e91-2dee-dedb-b68131a5f0ec

ultramage 18 سال پیش
والد
کامیت
725ed1909e
4فایلهای تغییر یافته به همراه6 افزوده شده و 5 حذف شده
  1. 1 0
      Changelog-Trunk.txt
  2. 2 3
      src/map/clif.c
  3. 1 1
      src/map/pc.c
  4. 2 1
      src/map/status.c

+ 1 - 0
Changelog-Trunk.txt

@@ -4,6 +4,7 @@ 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/02/11
+	* Fixed the inverted behavior of display_skill_fail, caused by r9823
 	* Fixed @loadnpc not updating the script_event[] array
 2007/02/10
 	* Fixed clif_party_message using an incorrect buffer length [ultramage]

+ 2 - 3
src/map/clif.c

@@ -8213,11 +8213,10 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd)
 		clif_hominfo(sd,sd->hd,0); //for some reason, at least older clients want this sent twice
 		clif_send_homdata(sd,0,0);
 		clif_homskillinfoblock(sd);
-		//Homunc mimic their master's speed on each map change. [Skotlex]
 		if (battle_config.hom_setting&0x8)
-			status_calc_bl(&sd->hd->bl, SCB_SPEED);
+			status_calc_bl(&sd->hd->bl, SCB_SPEED); //Homunc mimic their master's speed on each map change
 		if (!(battle_config.hom_setting&0x2))
-			skill_unit_move(&sd->hd->bl,gettick(),1);
+			skill_unit_move(&sd->hd->bl,gettick(),1); // apply land skills immediately
 	}
 
 	if(sd->state.connect_new) {

+ 1 - 1
src/map/pc.c

@@ -613,7 +613,7 @@ int pc_authok(struct map_session_data *sd, int login_id2, time_t connect_until_t
 	if (battle_config.disp_zeny)
 		sd->state.showzeny = 1;
 	
-	if (!(battle_config.display_skill_fail&2))
+	if (battle_config.display_skill_fail&2)
 		sd->state.showdelay = 1;
 		
 	// Request all registries.

+ 2 - 1
src/map/status.c

@@ -2413,11 +2413,12 @@ int status_calc_homunculus(struct homun_data *hd, int first)
 
 	status->aspd_rate = 1000;
 
+	/* //this calc is useless since status_calc_bl(SCB_ALL) does it already
 	skill = (1000 -4*status->agi -status->dex)
 			*hd->homunculusDB->baseASPD/1000;
 
 	status->amotion = cap_value(skill,battle_config.max_aspd,2000);
-	status->adelay = status->amotion; //It seems adelay = amotion for Homunculus.
+	status->adelay = status->amotion; //It seems adelay = amotion for Homunculus.*/
 
 	status_calc_misc(&hd->bl, status, hom->level);
 	status_calc_bl(&hd->bl, SCB_ALL); //Status related changes.