summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-16 18:00:27 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-16 18:00:27 +0000
commitcaf2c7462fb04ce84cd2e3044a25578171efa35d (patch)
tree0710e5dda55312c4fb61078a904fd489f68ecfea /src
parent0840c847bd1e4d60e2a2af5d19859dbc21a12a24 (diff)
downloadhercules-caf2c7462fb04ce84cd2e3044a25578171efa35d.tar.gz
hercules-caf2c7462fb04ce84cd2e3044a25578171efa35d.tar.bz2
hercules-caf2c7462fb04ce84cd2e3044a25578171efa35d.tar.xz
hercules-caf2c7462fb04ce84cd2e3044a25578171efa35d.zip
- Fixed Magnum break's animation not showing if the fire-elemental bonus did not start.
- Removed some last traces of waterlevel reading. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6120 54d463be-8e91-2dee-dedb-b68131a5f0ec
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 */