summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-24 23:49:05 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-24 23:49:05 +0000
commitd4370c97fdca04e6c1d1fb8223acd08c0b140692 (patch)
tree778f894bb5e278d6f3958f8ca63e8baa59b6298b /src/map/skill.c
parent1a418b0d54045b0cd7cef6bfee4d43412e6d3889 (diff)
downloadhercules-d4370c97fdca04e6c1d1fb8223acd08c0b140692.tar.gz
hercules-d4370c97fdca04e6c1d1fb8223acd08c0b140692.tar.bz2
hercules-d4370c97fdca04e6c1d1fb8223acd08c0b140692.tar.xz
hercules-d4370c97fdca04e6c1d1fb8223acd08c0b140692.zip
- Cleanup/typo on homunc's code
- Modified @reloadmobdb & @reloadskilldb to reload homunc's db too git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8476 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 8dcc2432e..08426a878 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6257,16 +6257,8 @@ int skill_castend_pos2 (struct block_list *src, int x, int y, int skillid, int s
case AM_RESURRECTHOMUN: //[orn]
if (sd)
{
- /* According to Tharis, the correct % SHOULD be 20*lv%
- int p;
- // If skilllv = 1, range = 1~4%, lv 2 : 5~25%, lv 3 : 25~45%, ...
- if (skilllv == 1)
- p = 1 + rand() % 4;
- else
- p = 5 + 20 * (skilllv - 2) + rand() % 21;
- */
if (map_flag_gvg(src->m) || //No reviving in WoE grounds!
- !merc_revive_homunculus(sd, 20*skilllv, x, y))
+ !merc_resurrect_homunculus(sd, 20*skilllv, x, y))
{
clif_skill_fail(sd,skillid,0,0);
break;