summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-12 02:46:00 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-12 02:46:00 +0000
commit97353c7d82e3537982d2687f3b16a6c92e25b33b (patch)
tree8d34baabf1b1b7e0bf1b23440eca6eb9195a7d49 /src/map
parentb60b70a43e012bc261f745a7ffd05c5cb43c2f27 (diff)
downloadhercules-97353c7d82e3537982d2687f3b16a6c92e25b33b.tar.gz
hercules-97353c7d82e3537982d2687f3b16a6c92e25b33b.tar.bz2
hercules-97353c7d82e3537982d2687f3b16a6c92e25b33b.tar.xz
hercules-97353c7d82e3537982d2687f3b16a6c92e25b33b.zip
- Fixed the inverted behavior of display_skill_fail, caused by r9823
- Commented out some duplicit homunculus speed calc code git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9852 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.c5
-rw-r--r--src/map/pc.c2
-rw-r--r--src/map/status.c3
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.