diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-11-28 22:43:10 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-11-28 22:43:10 +0000 |
commit | f5211cd347e39ea4c97c354006811cd251961687 (patch) | |
tree | 2b333464005bbb08bd465d9dceafb73018d97b11 /src/map/status.c | |
parent | dc1175bda087b4b4ce657a114225b5daefbcf5c4 (diff) | |
download | hercules-f5211cd347e39ea4c97c354006811cd251961687.tar.gz hercules-f5211cd347e39ea4c97c354006811cd251961687.tar.bz2 hercules-f5211cd347e39ea4c97c354006811cd251961687.tar.xz hercules-f5211cd347e39ea4c97c354006811cd251961687.zip |
* Added emotion_type enumeration for clif_emotion constants.
- Made clif_parse_Emotion use clif_emotion, rather than having it's code inlined.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14518 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/status.c b/src/map/status.c index 3b9213ca5..ac034c1b6 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -1083,7 +1083,7 @@ int status_check_skilluse(struct block_list *src, struct block_list *target, int if (sc->data[SC_WINKCHARM] && target && !flag) { //Prevents skill usage - clif_emotion(src, 3); + clif_emotion(src, E_LV); return 0; } @@ -5266,7 +5266,7 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val case SC_SIGNUMCRUCIS: val2 = 10 + 4*val1; //Def reduction tick = -1; - clif_emotion(bl,4); + clif_emotion(bl,E_SWT); break; case SC_MAXIMIZEPOWER: val2 = tick>0?tick:60000; @@ -5483,7 +5483,7 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val break; case SC_CONFUSION: - clif_emotion(bl,1); + clif_emotion(bl,E_WHAT); break; case SC_BLEEDING: val4 = tick/10000; |