From dc9ae7b5a2a047d3cf3e889b0d1df0d7af67e2a4 Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 24 Apr 2006 14:52:11 +0000 Subject: - Fixed skill_delayfix not altering delay at all after you reached 150. - Applied ers to pet loot drops. - Cleaned up the pet loot drop function. - Mob skill state MSS_ANY won't include MSS_DEAD now. - Added mob skill state MSS_ANYTARGET ("anytarget") which means any state (except dead) on which the mob has a target set. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6250 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/skill.c') diff --git a/src/map/skill.c b/src/map/skill.c index 77705973a..80bbacd4f 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -8330,6 +8330,8 @@ int skill_delayfix(struct block_list *bl, int skill_id, int skill_lv) int scale = battle_config.castrate_dex_scale - status_get_dex(bl); if (scale > 0) time = time * scale / battle_config.castrate_dex_scale; + else //To be capped later to minimum. + time = 0; } if (bl->type == BL_PC && ((TBL_PC*)bl)->delayrate != 100) -- cgit v1.2.3-70-g09d2