Issue Information
-
#004845
-
0 - None Assigned
-
Needs More Info
Issue Confirmations
-
Yes (0)No (0)
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.
I guess this was fix:
This post has been edited by Feanorko: Jul 7 2011, 03:25 AM
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
+++ 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)?
need confirmation and/or source on the information provided (aka does this really works like this in officials)?
moved issue from Skills