summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/map.c2
-rw-r--r--src/map/pc.c2
-rw-r--r--src/map/skill.c9
3 files changed, 5 insertions, 8 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 5eef78856..4e293c489 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -3257,8 +3257,6 @@ int map_config_read(char *cfgName) {
} else if (strcmpi(w1, "map_port") == 0) {
clif_setport(atoi(w2));
map_port = (atoi(w2));
- //} else if (strcmpi(w1, "water_height") == 0) {
- // map_readwater(w2);
} else if (strcmpi(w1, "map") == 0) {
map_addmap(w2);
} else if (strcmpi(w1, "delmap") == 0) {
diff --git a/src/map/pc.c b/src/map/pc.c
index 493d6327c..2dcb11a63 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -3835,7 +3835,7 @@ int pc_follow_timer(int tid,unsigned int tick,int id,int data)
pc_setpos(sd, tsd->mapindex, tsd->bl.x, tsd->bl.y, 3);
}
sd->followtimer = add_timer(
- tick + sd->aspd + rand() % 1000, // increase time a bit to loosen up map's load
+ tick + 1000, // increase time a bit to loosen up map's load
pc_follow_timer, sd->bl.id, 0);
return 0;
}
diff --git a/src/map/skill.c b/src/map/skill.c
index 71925a108..ee9c55385 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -2773,9 +2773,8 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl,int s
src,skillid,skilllv,tick, flag|BCT_ENEMY|1,
skill_castend_damage_id);
//Initiate 10% of your damage becomes fire element.
- clif_skill_nodamage (src,bl,skillid,skilllv,
- sc_start4(src,SC_WATK_ELEMENT,100,
- 3,20,0,0,skill_get_time2(skillid, skilllv)));
+ clif_skill_nodamage (src,bl,skillid,skilllv,1);
+ sc_start4(src,SC_WATK_ELEMENT,100,3,20,0,0,skill_get_time2(skillid, skilllv));
if (sd) skill_blockpc_start (sd, skillid, skill_get_time(skillid, skilllv));
}
break;
@@ -3684,8 +3683,8 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
src,skillid,skilllv,tick, flag|BCT_ENEMY|1,
skill_castend_damage_id);
//Initiate 10% of your damage becomes fire element.
- clif_skill_nodamage (src,src,skillid,skilllv,
- sc_start4(src,SC_WATK_ELEMENT,100,3,20,0,0,skill_get_time2(skillid, skilllv)));
+ clif_skill_nodamage (src,src,skillid,skilllv,1);
+ sc_start4(src,SC_WATK_ELEMENT,100,3,20,0,0,skill_get_time2(skillid, skilllv));
if (sd) skill_blockpc_start (sd, skillid, skill_get_time(skillid, skilllv));
break;
case LK_BERSERK: /* ƒo?ƒT?ƒN */