diff options
author | (no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-02-11 10:17:53 +0000 |
---|---|---|
committer | (no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-02-11 10:17:53 +0000 |
commit | d4e895de213f20d1e66846b25afee77dd310a28a (patch) | |
tree | 7707ddfcc8b81808a36baab56f111f32396bd550 /src/map/clif.c | |
parent | 6cb7f24e8447fb5149f19bb8a04d902472b3bd4e (diff) | |
download | hercules-d4e895de213f20d1e66846b25afee77dd310a28a.tar.gz hercules-d4e895de213f20d1e66846b25afee77dd310a28a.tar.bz2 hercules-d4e895de213f20d1e66846b25afee77dd310a28a.tar.xz hercules-d4e895de213f20d1e66846b25afee77dd310a28a.zip |
* Reduced memory used for the skill_tree DB by 30+mb
* Added script commands isday and isnight
* Updated Sharp Shooting, Ankle Snare, Magnum Break, Tiger Fist, Devotion, Soul Burn
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1072 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index b6044c166..678a3f716 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -9016,6 +9016,20 @@ void clif_parse_UseSkillToId(int fd, struct map_session_data *sd) { return; } } + } else if (skillnum == CH_TIGERFIST) { + if (sd->sc_data[SC_COMBO].timer == -1 || sd->sc_data[SC_COMBO].val1 != MO_COMBOFINISH) { + if (!sd->state.skill_flag ) { + sd->state.skill_flag = 1; + if (!sd->attacktarget) { + clif_skillinfo(sd, CH_TIGERFIST, 1, -2); + return; + } else + target_id = sd->attacktarget; + } else if (sd->bl.id == target_id) { + clif_skillinfo(sd, CH_TIGERFIST, 1, -2); + return; + } + } } if ((lv = pc_checkskill(sd, skillnum)) > 0) { if (skilllv > lv) |