diff options
author | Playtester <Playtester@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-05-28 11:02:40 +0000 |
---|---|---|
committer | Playtester <Playtester@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-05-28 11:02:40 +0000 |
commit | 435d1eadb9986937abd37336639c4316239c2b4f (patch) | |
tree | e9435316bd15a5f3ab413a4c18ae43722b851270 | |
parent | 9d4f34b6e4d0b7907f3eba1f7dd6e887ed7e85b3 (diff) | |
download | hercules-435d1eadb9986937abd37336639c4316239c2b4f.tar.gz hercules-435d1eadb9986937abd37336639c4316239c2b4f.tar.bz2 hercules-435d1eadb9986937abd37336639c4316239c2b4f.tar.xz hercules-435d1eadb9986937abd37336639c4316239c2b4f.zip |
* Updated Ankle Snare duration (bugreport:1438)
- agi now has only half the effect on the duration (100 agi reduces it by 50%)
- minimum duration is 5 seconds no matter what
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12738 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | Changelog-Trunk.txt | 3 | ||||
-rw-r--r-- | src/map/status.c | 9 |
2 files changed, 7 insertions, 5 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 8bb94c81c..b1d354a31 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -4,6 +4,9 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. 2008/05/28 + * Updated Ankle Snare duration (bugreport:1438) [Playtester] + - agi now has only half the effect on the duration (100 agi reduces it by 50%) + - minimum duration is 5 seconds no matter what * Fixed stat values displaying incorrectly when increasing them past 255 (wraparound, ack packet only has 1 byte) [ultramage] 2008/05/26 diff --git a/src/map/status.c b/src/map/status.c index 9fc4e8f93..98cfef6eb 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -4514,7 +4514,7 @@ int status_get_sc_def(struct block_list *bl, enum sc_type type, int rate, int ti case SC_ANKLE: if(status->mode&MD_BOSS) // Lasts 5 times less on bosses tick /= 5; - sc_def = status->agi; + sc_def = status->agi / 2; break; case SC_MAGICMIRROR: case SC_ARMORCHANGE: @@ -4598,10 +4598,9 @@ int status_get_sc_def(struct block_list *bl, enum sc_type type, int rate, int ti return tick; tick -= tick*tick_def/100; - // Minimum trap time of 3+0.03*skilllv seconds [celest] - // Changed to 3 secs and moved from skill.c [Skotlex] - if (type == SC_ANKLE && tick < 3000) - tick = 3000; + // Changed to 5 seconds according to recent tests [Playtester] + if (type == SC_ANKLE && tick < 5000) + tick = 5000; return tick<=0?0:tick; } |