diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-24 14:52:11 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-24 14:52:11 +0000 |
commit | dc9ae7b5a2a047d3cf3e889b0d1df0d7af67e2a4 (patch) | |
tree | 05b3fa0c830cdbdb14ffc85ae56ff153ff4c929d /src/map/skill.c | |
parent | 52c05755226744e3fc6f42779d60f6ed392a5e4b (diff) | |
download | hercules-dc9ae7b5a2a047d3cf3e889b0d1df0d7af67e2a4.tar.gz hercules-dc9ae7b5a2a047d3cf3e889b0d1df0d7af67e2a4.tar.bz2 hercules-dc9ae7b5a2a047d3cf3e889b0d1df0d7af67e2a4.tar.xz hercules-dc9ae7b5a2a047d3cf3e889b0d1df0d7af67e2a4.zip |
- 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
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 2 |
1 files changed, 2 insertions, 0 deletions
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)
|