summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-20 22:16:19 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-20 22:16:19 +0000
commitabf5a30aae55b878ca9352d00853d2ca62408283 (patch)
tree0fb0972ff1a2b19e2d6b34ff5d410654bb34aaa0 /src/map/skill.c
parentbf217fad8c8d6f19258ff437576726849a4d5e4a (diff)
downloadhercules-abf5a30aae55b878ca9352d00853d2ca62408283.tar.gz
hercules-abf5a30aae55b878ca9352d00853d2ca62408283.tar.bz2
hercules-abf5a30aae55b878ca9352d00853d2ca62408283.tar.xz
hercules-abf5a30aae55b878ca9352d00853d2ca62408283.zip
- Added back the char-sql server sending the GM list when the map server connects.
- Fixed a bug in the add_timer_interval error reporting. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5351 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index cb9e7d255..7d528aa50 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6764,6 +6764,8 @@ int skill_unit_onplace_timer(struct skill_unit *src,struct block_list *bl,unsign
{
int count=0, t_ele = status_get_elem_type(bl);
if (t_ele == 3 || battle_check_undead(status_get_race(bl), t_ele)) {
+ //This is the best Aegis approximation we can do without
+ //changing the minimum skill unit interval. [Skotlex]
while (count++ < battle_config.firewall_hits_on_undead && src->val2-- && !status_isdead(bl))
skill_attack(BF_MAGIC,ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick+count*10,1);
} else {