summaryrefslogtreecommitdiff
path: root/src/map/mercenary.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-28 17:58:56 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-28 17:58:56 +0000
commitbfb4c510052f56c0af3f7fbca417ce23d0fd2203 (patch)
treec1c0f5ec941a9dfb09b9d20293c822082b124475 /src/map/mercenary.c
parentff2af609b86f5c35007fc30d0ef69214bd76bc12 (diff)
downloadhercules-bfb4c510052f56c0af3f7fbca417ce23d0fd2203.tar.gz
hercules-bfb4c510052f56c0af3f7fbca417ce23d0fd2203.tar.bz2
hercules-bfb4c510052f56c0af3f7fbca417ce23d0fd2203.tar.xz
hercules-bfb4c510052f56c0af3f7fbca417ce23d0fd2203.zip
- Added functions status_revive, pc_revive and mob_revive to handle revival (it doesn't handles player respawning, though)
- Corrected alive, raisemap, raiseall to use these functions. - Updated resurrection/mob-kaizel to use status_revive - Added SC_BLADESTOP to the skill enum at the beginning of status.c (fixes Bladestop causing an unknown status change message) - Fixed MSS_DEAD state skills not triggering. - Corrected some compilation warnings on the merc.* files. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6807 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mercenary.c')
-rw-r--r--src/map/mercenary.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/mercenary.c b/src/map/mercenary.c
index 8ef7162db..e84acecf6 100644
--- a/src/map/mercenary.c
+++ b/src/map/mercenary.c
@@ -61,7 +61,7 @@ char32 merc_skillname[20] = {"NULL","HLIF_HEAL","HLIF_AVOID","HLIF_BRAIN","HLIF_
"HFLI_MOON","HFLI_FLEET","HFLI_SPEED","HFLI_SBR44",
"HVAN_CAPRICE","HVAN_CHAOTIC","HVAN_INSTRUCT","HVAN_EXPLOSION"};
-void merc_load_exptables();
+void merc_load_exptables(void);
void merc_save(struct map_session_data *sd);
int mercskill_castend_id( int tid, unsigned int tick, int id,int data );
@@ -78,7 +78,7 @@ static int diry[8]={1,1,0,-1,-1,-1,0,1};
static unsigned long hexptbl[126];
-void merc_load_exptables()
+void merc_load_exptables(void)
{
FILE *fl;
int i;
@@ -95,7 +95,7 @@ void merc_load_exptables()
fclose(fl);
}
-char *merc_skill_get_name(id)
+char *merc_skill_get_name(int id)
{
return merc_skillname[id-8000];
}
@@ -498,4 +498,4 @@ int merc_create_homunculus(struct map_session_data *sd,int id,int m,int x,int y)
clif_homuninfo(sd);*/ // send this x2. dunno why, but kRO does that [blackhole89]
}
-int do_final_merc (void); \ No newline at end of file
+int do_final_merc (void);