Issue information

Issue ID
#2395
Status
Duplicate
Severity
None
Started
Hercules Elf Bot
Oct 27, 2008 15:21
Last Post
Hercules Elf Bot
Mar 5, 2012 16:46
Confirmation
N/A

Hercules Elf Bot - Oct 27, 2008 15:21

Originally posted by [b]ptrxyz[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=2395

Whenever a Taekwon has the skill Leap aka High Jump, the casting time for Emergency Call should be doubled: http://irowiki.org/wiki/Leap (Check Notes, 4th entry)

Current eA Version (13318 stable) doesnt have that. I made a quick work around for that:

QUOTE
int skill_castfix (struct block_list *bl, int skill_id, int skill_lv)
{

// ...
// <official eA Code is here. removed to reduce size of this post>
// ...

if (battle_config.cast_rate != 100)
time = time * battle_config.cast_rate / 100;

if (skill_id==GD_EMERGENCYCALL) { //<----------------- teakwon double EC cast time
if (sd->status.skill[TK_HIGHJUMP].lv > 0)
time = time * 2;
}

// return final cast time
return (time > 0) ? time : 0;
}


This post has been edited by ptrxyz: Oct 27 2008, 08:22 AM