summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorblackhole89 <blackhole89@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-12 22:47:16 +0000
committerblackhole89 <blackhole89@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-12 22:47:16 +0000
commit4d345ccb426e98df70bfaee2426cb331c6a73752 (patch)
tree3996f8da2383f3a19d9be02bf85e20984f83bc15 /src/map
parent7329737f2a2bf307822764fb774508f5b07aa140 (diff)
downloadhercules-4d345ccb426e98df70bfaee2426cb331c6a73752.tar.gz
hercules-4d345ccb426e98df70bfaee2426cb331c6a73752.tar.bz2
hercules-4d345ccb426e98df70bfaee2426cb331c6a73752.tar.xz
hercules-4d345ccb426e98df70bfaee2426cb331c6a73752.zip
See Changelog.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8253 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/status.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 7a563acd2..f5b0d4c97 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -4449,6 +4449,13 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
}
//Before overlapping fail, one must check for status cured.
switch (type) {
+ case SC_BUNSINJYUTSU: //[blackhole89]
+ if(sd)
+ {
+ val4=sd->status.clothes_color;
+ pc_changelook(sd,LOOK_CLOTHES_COLOR,0);
+ }
+ break;
case SC_BLESSING:
if ((!undead_flag && status->race!=RC_DEMON) || bl->type == BL_PC) {
if (sc->data[SC_CURSE].timer!=-1)
@@ -5717,6 +5724,10 @@ int status_change_end( struct block_list* bl , int type,int tid )
vd = status_get_viewdata(bl);
calc_flag = StatusChangeFlagTable[type];
switch(type){
+ case SC_BUNSINJYUTSU: //[blackhole89]
+ {
+ if(sd) pc_changelook(sd,LOOK_CLOTHES_COLOR,sc->data[type].val4);
+ }
case SC_WEDDING:
case SC_XMAS:
if (!vd) return 0;