summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-22 06:37:36 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-22 06:37:36 +0000
commit145df89a504427fb4f8c69c0eb155ec4f0fc5841 (patch)
treee96a1298b1023fd2a0836cb5523c6230e952c096 /src/map/status.c
parent1fdd9051b6ae3a72d43bfb2f490710f9a7b2eaf0 (diff)
downloadhercules-145df89a504427fb4f8c69c0eb155ec4f0fc5841.tar.gz
hercules-145df89a504427fb4f8c69c0eb155ec4f0fc5841.tar.bz2
hercules-145df89a504427fb4f8c69c0eb155ec4f0fc5841.tar.xz
hercules-145df89a504427fb4f8c69c0eb155ec4f0fc5841.zip
Fixed the damn broken combo code. Fixed Fallen Empire and Dragon Combo (part of bugreport:5358) and applied some more of my curly brace love.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15758 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 17dcc258f..ed67421a0 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -8058,6 +8058,10 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
if (sd)
clif_skillinfo(sd,TK_JUMPKICK, INF_SELF_SKILL);
break;
+ case MO_TRIPLEATTACK:
+ if (sd && pc_checkskill(sd, SR_DRAGONCOMBO) > 0)
+ clif_skillinfo(sd,SR_DRAGONCOMBO, INF_SELF_SKILL);
+ break;
}
break;
case SC_RAISINGDRAGON:
@@ -8424,6 +8428,10 @@ int status_change_end_(struct block_list* bl, enum sc_type type, int tid, const
case TK_JUMPKICK:
clif_skillinfo(sd, TK_JUMPKICK, 0);
break;
+ case MO_TRIPLEATTACK:
+ if (pc_checkskill(sd, SR_DRAGONCOMBO) > 0)
+ clif_skillinfo(sd, SR_DRAGONCOMBO, 0);
+ break;
}
break;