Issue information

Issue ID
#4845
Status
Needs more Info
Severity
None
Started
Hercules Elf Bot
Apr 5, 2011 10:07
Last Post
Mysterious
Jan 27, 2013 16:55
Confirmation
N/A

Hercules Elf Bot - Apr 5, 2011 10:07

Originally posted by [b]Feanorko[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&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

Hercules Elf Bot - Dec 14, 2011 2:48

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