diff options
author | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-05-17 00:28:35 +0200 |
---|---|---|
committer | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-06-01 02:01:54 +0200 |
commit | 29a544a23092e6b1703905f4719ebca412e9558b (patch) | |
tree | 2fac491ec23738ea79e8c9c88574e6b5977c6681 /src/map/battle.c | |
parent | ad3be6ffd674983f9d3123ee7558a689eb16c416 (diff) | |
download | hercules-29a544a23092e6b1703905f4719ebca412e9558b.tar.gz hercules-29a544a23092e6b1703905f4719ebca412e9558b.tar.bz2 hercules-29a544a23092e6b1703905f4719ebca412e9558b.tar.xz hercules-29a544a23092e6b1703905f4719ebca412e9558b.zip |
Make AttackType can be grouped by levels
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 796e0de68..236ed70b7 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -6340,7 +6340,7 @@ static enum damage_lv battle_weapon_attack(struct block_list *src, struct block_ skill_id = AB_DUPLELIGHT_MELEE; else skill_id = AB_DUPLELIGHT_MAGIC; - skill->attack(skill->get_type(skill_id), src, src, target, skill_id, sc->data[SC_DUPLELIGHT]->val1, tick, SD_LEVEL); + skill->attack(skill->get_type(skill_id, sc->data[SC_DUPLELIGHT]->val1), src, src, target, skill_id, sc->data[SC_DUPLELIGHT]->val1, tick, SD_LEVEL); } } |