Issue information

Issue ID
#751
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Jan 5, 2008 6:57
Last Post
Hercules Elf Bot
Jan 5, 2008 6:57
Confirmation
N/A

Hercules Elf Bot - Jan 5, 2008 6:57

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

From this revision, skills like BS_OVERTHRUSTH cannot be "Multiple" casted. Now you have to wait until the SC ends.

Why?

Well... before this revision the bonus ATK was calculated in Battle_calc_damage. Using VAL1 as the skill lvl only.

But now VAL2 is used to hold the bonus ATK values. And... on status_change_start exists this condition:

CODE
            case SC_WEAPONPERFECTION:
            case SC_OVERTHRUST:
                if (sce->val2 > val2)
                    return 0;


val2 holds the ATK bonus when the SC value is activated, and when SC starts, val2 only holds 0 or 1, and right now i don't know what those 1 or 0 are used for... but well...

The bug is right there...

This post has been edited by zephyrus_cr: Jan 4 2008, 10:58 PM