- 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
This commit is contained in:
ultramage 2007-02-12 02:46:00 +00:00
parent 108c74125f
commit 725ed1909e
4 changed files with 6 additions and 5 deletions

View File

@ -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. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2007/02/11 2007/02/11
* Fixed the inverted behavior of display_skill_fail, caused by r9823
* Fixed @loadnpc not updating the script_event[] array * Fixed @loadnpc not updating the script_event[] array
2007/02/10 2007/02/10
* Fixed clif_party_message using an incorrect buffer length [ultramage] * Fixed clif_party_message using an incorrect buffer length [ultramage]

View File

@ -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_hominfo(sd,sd->hd,0); //for some reason, at least older clients want this sent twice
clif_send_homdata(sd,0,0); clif_send_homdata(sd,0,0);
clif_homskillinfoblock(sd); clif_homskillinfoblock(sd);
//Homunc mimic their master's speed on each map change. [Skotlex]
if (battle_config.hom_setting&0x8) 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)) 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) { if(sd->state.connect_new) {

View File

@ -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) if (battle_config.disp_zeny)
sd->state.showzeny = 1; sd->state.showzeny = 1;
if (!(battle_config.display_skill_fail&2)) if (battle_config.display_skill_fail&2)
sd->state.showdelay = 1; sd->state.showdelay = 1;
// Request all registries. // Request all registries.

View File

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