summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2009-09-20 00:30:15 +0000
committerFate <fate-tmw@googlemail.com>2009-09-20 00:30:15 +0000
commit264bf4fd6dfb501643cf9178e5471e9e0e55152b (patch)
tree3ac7e832801590219bd62e8c45ccca2ccf86d2dd /src/map/clif.c
parent162c84a85c288bcb97df44d08e0c0ff271ec102b (diff)
downloadtmwa-264bf4fd6dfb501643cf9178e5471e9e0e55152b.tar.gz
tmwa-264bf4fd6dfb501643cf9178e5471e9e0e55152b.tar.bz2
tmwa-264bf4fd6dfb501643cf9178e5471e9e0e55152b.tar.xz
tmwa-264bf4fd6dfb501643cf9178e5471e9e0e55152b.zip
Initial support for skill pools
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 6457e9b..ce86cff 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -3768,7 +3768,7 @@ int clif_skillinfoblock(struct map_session_data *sd)
&& (sd->tmw_version >= 1)){ // [Fate] Version 1 and later don't crash because of bad skill IDs anymore
WFIFOW(fd,len ) = id;
WFIFOW(fd,len+2) = skill_get_inf(id);
- WFIFOW(fd,len+4) = 0;
+ WFIFOW(fd,len+4) = skill_db[i].poolflags | (sd->status.skill[i].flag & (SKILL_POOL_ACTIVATED));
WFIFOW(fd,len+6) = sd->status.skill[i].lv;
WFIFOW(fd,len+8) = skill_get_sp(id,sd->status.skill[i].lv);
range = skill_get_range(id,sd->status.skill[i].lv);