summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-30 16:02:55 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-30 16:02:55 +0000
commitf17c3bc02c9e82147fb471132940e84d227ec4bc (patch)
treec7623d4aefa26cb8ae461b63c1efed99d8c99adf /src/map/status.c
parentfa2020be43ddc026460896a3bb8b1d0f425265b2 (diff)
downloadhercules-f17c3bc02c9e82147fb471132940e84d227ec4bc.tar.gz
hercules-f17c3bc02c9e82147fb471132940e84d227ec4bc.tar.bz2
hercules-f17c3bc02c9e82147fb471132940e84d227ec4bc.tar.xz
hercules-f17c3bc02c9e82147fb471132940e84d227ec4bc.zip
- Removed trailing tabs, and fixed some spacing.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15524 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/map/status.c b/src/map/status.c
index c2264717f..275c6c8f2 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -3438,7 +3438,7 @@ void status_calc_bl_main(struct block_list *bl, /*enum scb_flag*/int flag)
if(status->aspd_rate != 1000)
amotion = amotion*status->aspd_rate/1000;
- status->amotion = cap_value(amotion, battle_config.monster_max_aspd, 2000);
+ status->amotion = cap_value(amotion, battle_config.monster_max_aspd, 2000);
temp = b_status->adelay*status->aspd_rate/1000;
status->adelay = cap_value(temp, battle_config.monster_max_aspd*2, 4000);
@@ -4586,7 +4586,7 @@ static short status_calc_aspd_rate(struct block_list *bl, struct status_change *
if( sc->data[SC_SWINGDANCE] )
aspd_rate -= aspd_rate * sc->data[SC_SWINGDANCE]->val2 / 100;
if( sc->data[SC_DANCEWITHWUG] )
- aspd_rate -= aspd_rate * sc->data[SC_DANCEWITHWUG]->val3 / 100;
+ aspd_rate -= aspd_rate * sc->data[SC_DANCEWITHWUG]->val3 / 100;
if( sc->data[SC_GLOOMYDAY] )
aspd_rate += aspd_rate * sc->data[SC_GLOOMYDAY]->val3 / 100;
if( sc->data[SC_EARTHDRIVE] )
@@ -7332,7 +7332,7 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
clif_changelook(bl,LOOK_SHIELD,0);
clif_changelook(bl,LOOK_BASE,type==SC_WEDDING?JOB_WEDDING:type==SC_XMAS?JOB_XMAS:JOB_SUMMER);
clif_changelook(bl,LOOK_CLOTHES_COLOR,val4);
- break;
+ break;
case SC_KAAHI:
val4 = INVALID_TIMER;
break;
@@ -8838,7 +8838,7 @@ int status_change_timer(int tid, unsigned int tick, int id, intptr_t data)
case SC_OBLIVIONCURSE:
if( --(sce->val4) >= 0 )
{
- clif_emotion(bl,1);
+ clif_emotion(bl,1);
sc_timer_next(3000 + tick, status_change_timer, bl->id, data );
return 0;
}
@@ -9171,7 +9171,7 @@ int status_change_timer(int tid, unsigned int tick, int id, intptr_t data)
}
// default for all non-handled control paths is to end the status
- return status_change_end( bl,type,tid );
+ return status_change_end( bl,type,tid );
#undef sc_timer_next
}