summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorJedzkie <jedzkie13@rocketmail.com>2017-04-19 23:25:53 +0800
committerJedzkie <jedzkie13@rocketmail.com>2017-04-19 23:37:08 +0800
commitc22bc45868e8ea2b7ef904848d178caeaa6b379c (patch)
tree32edebf9506cd0dad0612cef0ebcf8a2007a4e1d /src/map/clif.c
parent5802b22439441be1914ae9024d6ce06d51c0210f (diff)
downloadhercules-c22bc45868e8ea2b7ef904848d178caeaa6b379c.tar.gz
hercules-c22bc45868e8ea2b7ef904848d178caeaa6b379c.tar.bz2
hercules-c22bc45868e8ea2b7ef904848d178caeaa6b379c.tar.xz
hercules-c22bc45868e8ea2b7ef904848d178caeaa6b379c.zip
Implemented Official Summer 2 Costume
Added summer2_ignorepalette configuration
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 5939222e9..3bf77baef 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -3215,10 +3215,12 @@ void clif_changelook(struct block_list *bl,int type,int val)
vd->cloth_color = 0;
if (sd->sc.option&OPTION_OKTOBERFEST /* TODO: config? */)
vd->cloth_color = 0;
+ if (sd->sc.option&OPTION_SUMMER2 && battle_config.summer2_ignorepalette)
+ vd->cloth_color = 0;
if (vd->body_style && (
sd->sc.option&OPTION_WEDDING || sd->sc.option&OPTION_XMAS ||
sd->sc.option&OPTION_SUMMER || sd->sc.option&OPTION_HANBOK ||
- sd->sc.option&OPTION_OKTOBERFEST))
+ sd->sc.option&OPTION_OKTOBERFEST || sd->sc.option&OPTION_SUMMER2))
vd->body_style = 0;
break;
case LOOK_HAIR:
@@ -3248,6 +3250,8 @@ void clif_changelook(struct block_list *bl,int type,int val)
val = 0;
if( sd->sc.option&OPTION_OKTOBERFEST /* TODO: config? */ )
val = 0;
+ if (sd->sc.option&OPTION_SUMMER2 && battle_config.summer2_ignorepalette)
+ val = 0;
}
vd->cloth_color = val;
break;