diff options
author | glighta <glighta@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-12-31 04:03:26 +0000 |
---|---|---|
committer | glighta <glighta@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-12-31 04:03:26 +0000 |
commit | f2e6d012726b884d066094a045f74064326e89fa (patch) | |
tree | b0e95cec40342987024997dbed4de36efa37a74d /src/map/skill.c | |
parent | f7a4bfbba6b5a247fcf76d5b10fdd80fd1a32e5e (diff) | |
download | hercules-f2e6d012726b884d066094a045f74064326e89fa.tar.gz hercules-f2e6d012726b884d066094a045f74064326e89fa.tar.bz2 hercules-f2e6d012726b884d066094a045f74064326e89fa.tar.xz hercules-f2e6d012726b884d066094a045f74064326e89fa.zip |
-Follow up r17065 fiw splash skill being broken.
-Also revert unintentional change of GDI_SKILLLV (even if useless enum) bugreport:7076
--All type change related to tid:75123
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17067 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index c5303578d..b9b05013c 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -197,7 +197,7 @@ int skill_get_ele( uint16 skill_id , uint16 skill_lv ) { skill_get (skill_d int skill_get_nk( uint16 skill_id ) { skill_get (skill_db[skill_id].nk, skill_id, 1); } int skill_get_max( uint16 skill_id ) { skill_get (skill_db[skill_id].max, skill_id, 1); } int skill_get_range( uint16 skill_id , uint16 skill_lv ) { skill_get (skill_db[skill_id].range[skill_lv-1], skill_id, skill_lv); } -int skill_get_splash( uint16 skill_id , uint16 skill_lv ) { skill_chk (&skill_id, skill_lv); return (skill_db[skill_id].splash[skill_lv-1]>=0?skill_db[skill_id].splash[skill_lv-1]:AREA_SIZE); } +int skill_get_splash( uint16 skill_id , uint16 skill_lv ) { skill_get ( (skill_db[skill_id].splash[skill_lv-1]>=0?skill_db[skill_id].splash[skill_lv-1]:AREA_SIZE), skill_id, skill_lv); } int skill_get_hp( uint16 skill_id ,uint16 skill_lv ) { skill_get (skill_db[skill_id].hp[skill_lv-1], skill_id, skill_lv); } int skill_get_sp( uint16 skill_id ,uint16 skill_lv ) { skill_get (skill_db[skill_id].sp[skill_lv-1], skill_id, skill_lv); } int skill_get_hp_rate(uint16 skill_id, uint16 skill_lv ) { skill_get (skill_db[skill_id].hp_rate[skill_lv-1], skill_id, skill_lv); } @@ -2814,7 +2814,8 @@ typedef int (*SkillFunc)(struct block_list *, struct block_list *, int, int, uns int skill_area_sub (struct block_list *bl, va_list ap) { struct block_list *src; - uint16 skill_id,skill_lv,flag; + uint16 skill_id,skill_lv; + int flag; unsigned int tick; SkillFunc func; |