Jump to content

  •  

Bug Tracker Migration

June 3rd
Good news everyone! The staff has decided that it is time to slowly kill off this Bug Tracker. We will begin the process of slowly migrating from this Bug Tracker over to our Github Issues which can be found here: https://github.com/HerculesWS/Hercules/issues

Over the next couple of days, I will be closing off any opportunity to create new reports. However, I still will keep the opportunity to reply to existing Bug Reports. Doing this will allow us to slowly fix any bug reports we have listed here so that we can easily migrate over to our Issue Tracker.

Update - June 7th 2015: Creating new bug posts has been disabled. Please use our https://github.com/HerculesWS/Hercules/issues tracker to post bugs. Users are still able to reply to existing bug posts.

- Administration

Issue Information

  • #004845

  • 0 - None Assigned

  • Needs More Info

Issue Confirmations

  • Yes (0)No (0)
Photo

HT_ANKLESHARE duration time

Posted by Hercules Bot on 05 April 2011 - 10:07 AM

Originally posted by Feanorko
http://www.eathena.w...er&showbug=4845

On EA it's base duration is 4*SkillLv and reduces by agi/2%(minimum of 5 seconds).
But on Aegis it's different.
QUOTE
Any monster that steps within 1 cell of the trap will become snared for 5*SkillLV/(Target AGI*0.1) seconds (minimum of 3 seconds)


I guess this was fix:
CODE
--- a/src/map/status.c    Mon Mar 28 17:39:06 2011 +0400
+++ b/src/map/status.c    Mon Apr 04 22:47:35 2011 +0400
@@ -4625,8 +4625,8 @@
    case SC_ANKLE:
        if(status->mode&MD_BOSS) // Lasts 5 times less on bosses
            tick /= 5;
-        sc_def = status->agi / 2;
-        break;
+        tick = tick * 10 / (status->agi ? status->agi : 1);
+        return tick < 3000 ? 3000 : tick;
    case SC_MAGICMIRROR:
    case SC_ARMORCHANGE:
        if (sd) //Duration greatly reduced for players.
@@ -4710,9 +4710,7 @@
        return tick;

    tick -= tick*tick_def/100;
-    // Changed to 5 seconds according to recent tests [Playtester]
-    if (type == SC_ANKLE && tick < 5000)
-        tick = 5000;
+
    return tick<=0?0:tick;
}

--- a/db/skill_cast_db.txt    Mon Apr 04 20:22:46 2011 +0400
+++ b/db/skill_cast_db.txt    Mon Apr 04 22:14:32 2011 +0400
@@ -220,7 +220,7 @@
//-- HT_LANDMINE
116,0,0,0,200000:160000:120000:80000:40000,5000
//-- HT_ANKLESNARE
-117,0,0,0,250000:200000:150000:100000:50000,4000:8000:12000:16000:20000
+117,0,0,0,250000:200000:150000:100000:50000,5000:10000:15000:20000:25000
//-- HT_SHOCKWAVE
118,0,0,0,200000:160000:120000:80000:40000,0
//-- HT_SANDMAN


This post has been edited by Feanorko: Jul 7 2011, 03:25 AM

Originally posted by Ind
need confirmation and/or source on the information provided (aka does this really works like this in officials)?

moved issue from Skills