Issue information

Issue ID
#2437
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Nov 14, 2008 3:47
Last Post
Hercules Elf Bot
Apr 4, 2012 9:07
Confirmation
N/A

Hercules Elf Bot - Nov 14, 2008 3:47

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

This bug happen long time ago, (I checked with Freya, it doesn't happen).

When magician use firewall skill, you'll found that enermies who hit the firewalls are stopped the motion.
(You'll see they aren't move). And then after the firewall are disappeared, they will be 'warped' to that magician quickly.

I said 'warped' because they were changed the movement speed in short time, before they move normally.

in src/map/battle.c (battle_calc_magic_attack function)

CODE
    switch(skill_num)
    {
        case MG_FIREWALL:
        case NJ_KAENSIN:
            ad.dmotion = 0; //No flinch animation.
            if ( tstatus->def_ele == ELE_FIRE || battle_check_undead(tstatus->race, tstatus->def_ele) )
                ad.blewcount = 0; //No knockback
            break;
        case PR_SANCTUARY:
            ad.dmotion = 0; //No flinch animation.
            break;
    }

Why MG_FIREWALL break target animation??

I changed it with this and get firewall skill to normal.
CODE
    switch(skill_num)
    {
        case NJ_KAENSIN:
            ad.dmotion = 0; //No flinch animation.
        case MG_FIREWALL:
            if ( tstatus->def_ele == ELE_FIRE || battle_check_undead(tstatus->race, tstatus->def_ele) )
                ad.blewcount = 0; //No knockback
            break;
        case PR_SANCTUARY:
            ad.dmotion = 0; //No flinch animation.
            break;
    }

I don't know why but it should work correctly, before my magician have to die when I cast the firewall. (IMG:style_emoticons/default/tongue.gif)

P.S. I'm not sure this is a bug, in my opinion, I think it's not work correctly and should be fixed. (IMG:style_emoticons/default/smile.gif)

This post has been edited by aimakung: Nov 13 2008, 07:48 PM

Hercules Elf Bot - Dec 10, 2011 0:39

Originally posted by [b]Ind[/b]
was fixed in a previous eA revision