summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorglighta <glighta@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-12 00:35:48 +0000
committerglighta <glighta@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-12 00:35:48 +0000
commit22618c9ef3cd2eca23a5e9006637074d5b11cf76 (patch)
tree2aa7b82268d1a1feaf11d30d3767fa19dfaff32f /src/map/status.c
parentae57ff81700dbe6714ef107b34510457e9c9c5b6 (diff)
downloadhercules-22618c9ef3cd2eca23a5e9006637074d5b11cf76.tar.gz
hercules-22618c9ef3cd2eca23a5e9006637074d5b11cf76.tar.bz2
hercules-22618c9ef3cd2eca23a5e9006637074d5b11cf76.tar.xz
hercules-22618c9ef3cd2eca23a5e9006637074d5b11cf76.zip
-Add/upd basic documentation for script.c
-Fix some indentation and strange codestyle change to A-Style git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16915 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 282e2313b..70ec22af3 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -1309,7 +1309,7 @@ int status_damage(struct block_list *src,struct block_list *target,int hp, int s
((TBL_MOB*)target)->state.rebirth = 1;
return hp+sp;
- }
+ }
if(target->type == BL_PC){
TBL_PC *sd = BL_CAST(BL_PC,target);
TBL_HOM *hd = sd->hd;
@@ -1321,7 +1321,7 @@ int status_damage(struct block_list *src,struct block_list *target,int hp, int s
}
}
if (target->type == BL_MOB && sc && sc->data[SC_REBIRTH] && !((TBL_MOB*) target)->state.rebirth) {// Ensure the monster has not already rebirthed before doing so.
- status_revive(target, sc->data[SC_REBIRTH]->val2, 0);
+ status_revive(target, sc->data[SC_REBIRTH]->val2, 0);
status_change_clear(target,0);
((TBL_MOB*)target)->state.rebirth = 1;
@@ -10443,7 +10443,7 @@ int status_change_timer(int tid, unsigned int tick, int id, intptr_t data)
sc_timer_next(1000+tick, status_change_timer, bl->id, data);
return 0;
}
- break;
+ break;
case SC_ANGRIFFS_MODUS:
if(--(sce->val4) >= 0) { //drain hp/sp
if( !status_charge(bl,100,20) ) break;