diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/clif.c | 5 | ||||
-rw-r--r-- | src/map/pc.c | 2 | ||||
-rw-r--r-- | src/map/status.c | 3 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 13758e6fe..4b642f84c 100644 --- a/src/map/clif.c +++ b/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) { diff --git a/src/map/pc.c b/src/map/pc.c index 3fba85898..4e9c93dc9 100644 --- a/src/map/pc.c +++ b/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. diff --git a/src/map/status.c b/src/map/status.c index 14ee57e0d..3a5afa2ee 100644 --- a/src/map/status.c +++ b/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. |