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/clif.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/clif.c')
-rw-r--r-- | src/map/clif.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 477894805..5b0122401 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -19927,9 +19927,9 @@ static int clif_autoshadowspell_list(struct map_session_data *sd) WFIFOHEAD(fd, 2 * 6 + 4); WFIFOW(fd,0) = 0x442; for (i = 0, c = 0; i < MAX_SKILL_DB; i++) - if( sd->status.skill[i].flag == SKILL_FLAG_PLAGIARIZED && sd->status.skill[i].id > 0 && - sd->status.skill[i].id < GS_GLITTERING && skill->get_type(sd->status.skill[i].id) == BF_MAGIC ) - { // Can't auto cast both Extended class and 3rd class skills. + if (sd->status.skill[i].flag == SKILL_FLAG_PLAGIARIZED && sd->status.skill[i].id > 0 && sd->status.skill[i].id < GS_GLITTERING + && skill->get_type(sd->status.skill[i].id, sd->status.skill[i].lv) == BF_MAGIC) { + // Can't auto cast both Extended class and 3rd class skills. WFIFOW(fd,8+c*2) = sd->status.skill[i].id; c++; } |