summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-06 19:11:33 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-06 19:11:33 +0000
commit7afdfd0b4b60c52af9f4e488bb1208a426a5bddc (patch)
treee2544ee1f7559240071e202812cc901ff7d7bf54 /src/map/skill.c
parentf0fa9794bcdde0b1402bb7a7256265f59bbd7313 (diff)
downloadhercules-7afdfd0b4b60c52af9f4e488bb1208a426a5bddc.tar.gz
hercules-7afdfd0b4b60c52af9f4e488bb1208a426a5bddc.tar.bz2
hercules-7afdfd0b4b60c52af9f4e488bb1208a426a5bddc.tar.xz
hercules-7afdfd0b4b60c52af9f4e488bb1208a426a5bddc.zip
- Added no_skill_delay setting, when set, affected object types will have the minimum skill delay for all skills.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7551 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 8f16288c4..cfc4ccd4b 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -8300,8 +8300,8 @@ int skill_delayfix (struct block_list *bl, int skill_id, int skill_lv)
nullpo_retr(0, bl);
- if (bl->type == BL_MOB)
- return 0; //Mobs have no delay other than the skill-specific delay in their skill db. [Skotlex]
+ if (bl->type&battle_config.no_skill_delay)
+ return battle_config.min_skill_delay_limit;
// instant cast attack skills depend on aspd as delay [celest]
if (time == 0) {