summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c2
-rw-r--r--src/map/status.c2
-rw-r--r--src/map/unit.c2
3 files changed, 2 insertions, 4 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 27a2882b3..cc45546a6 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -5082,8 +5082,6 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
clif_skill_nodamage(src,bl,AL_HEAL,i,1);
clif_skill_nodamage(src,bl,skillid,i,1);
status_heal(bl, i, 0, 0);
- if (hd)
- skill_blockmerc_start(hd, skillid, skill_get_time2(skillid,skilllv)) ;
}
break;
//Homun single-target support skills [orn]
diff --git a/src/map/status.c b/src/map/status.c
index 2d6b3301e..1dc109b7f 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -7453,7 +7453,7 @@ int status_readdb(void)
refinebonus[i][0]=atoi(split[0]); // 精?ボ?ナス
refinebonus[i][1]=atoi(split[1]); // 過?精?ボ?ナス
refinebonus[i][2]=atoi(split[2]); // 安全精?限界
- for(j=0;j<MAX_REFINE && split[j];j++)
+ for(j=0;j<MAX_REFINE && split[j+3];j++)
percentrefinery[i][j]=atoi(split[j+3]);
i++;
}
diff --git a/src/map/unit.c b/src/map/unit.c
index 5603c1ff0..cd834524a 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -731,7 +731,7 @@ int unit_can_move(struct block_list *bl)
|| sc->data[SC_BLADESTOP_WAIT]
|| sc->data[SC_SPIDERWEB]
|| (sc->data[SC_DANCING] && sc->data[SC_DANCING]->val4 && (
- sc->data[SC_LONGING] ||
+ !sc->data[SC_LONGING] ||
(sc->data[SC_DANCING]->val1&0xFFFF) == CG_MOONLIT ||
(sc->data[SC_DANCING]->val1&0xFFFF) == CG_HERMODE
))