summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/clif.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 5b0b17b59..5ad976dcd 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -4118,13 +4118,13 @@ int clif_addskill(struct map_session_data *sd, int id )
WFIFOHEAD(fd, packet_len(0x111));
WFIFOW(fd,0) = 0x111;
WFIFOW(fd,2) = id;
- WFIFOW(fd,4) = sd->status.skill[id].lv;
- WFIFOW(fd,6) = 0;
if( (id == MO_EXTREMITYFIST && sd->state.combo&1) || (id == TK_JUMPKICK && sd->state.combo&2) )
- WFIFOW(fd,8) = INF_SELF_SKILL;
+ WFIFOW(fd,4) = INF_SELF_SKILL;
else
- WFIFOW(fd,8) = skill_get_inf(id);
- WFIFOW(fd,10) = skill_get_sp(id,sd->status.skill[id].lv);
+ WFIFOW(fd,4) = skill_get_inf(id);
+ WFIFOW(fd,6) = 0;
+ WFIFOW(fd,8) = sd->status.skill[id].lv;
+ WFIFOW(fd,10) = skill_get_sp(id,sd->status.skill[id].lv);
WFIFOW(fd,12)= skill_get_range2(&sd->bl, id,sd->status.skill[id].lv);
safestrncpy((char*)WFIFOP(fd,14), skill_get_name(id), NAME_LENGTH);
if( sd->status.skill[id].flag == 0 )