summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-07-09 15:54:36 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-07-09 15:54:36 +0000
commit09bc53815887ffaca33b7740303bd57d17fd92ad (patch)
treec1c09905c5010f47ba3a9eebf07246a3157dcaba /src/map/skill.c
parent7d396ef4ecd85de70c6b6cc7836dea5874bd05a6 (diff)
downloadhercules-09bc53815887ffaca33b7740303bd57d17fd92ad.tar.gz
hercules-09bc53815887ffaca33b7740303bd57d17fd92ad.tar.bz2
hercules-09bc53815887ffaca33b7740303bd57d17fd92ad.tar.xz
hercules-09bc53815887ffaca33b7740303bd57d17fd92ad.zip
* Alchemist skill "AM_CANNIBALIZE" ("Summon_Flora") now summons the proper monsters.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10870 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 5df5d3355..ce20af562 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6146,7 +6146,8 @@ int skill_castend_pos2 (struct block_list *src, int x, int y, int skillid, int s
case AM_SPHEREMINE:
case AM_CANNIBALIZE:
{
- int summons[5] = { 1020, 1068, 1118, 1500, 1368 };
+ int summons[5] = { 1589, 1579, 1575, 1555, 1590 };
+ //int summons[5] = { 1020, 1068, 1118, 1500, 1368 };
int class_ = skillid==AM_SPHEREMINE?1142:summons[skilllv-1];
struct mob_data *md;
@@ -6875,7 +6876,7 @@ struct skill_unit_group *skill_unitsetting (struct block_list *src, int skillid,
alive=0;
else
clif_changemapcell(src->m,ux,uy,5,0);
- }
+ //}
}
if(alive){
@@ -8255,7 +8256,8 @@ int skill_check_condition (struct map_session_data *sd, int skill, int lv, int t
case AM_SPHEREMINE:
if(type&1){
int c=0;
- int summons[5] = { 1020, 1068, 1118, 1500, 1368 };
+ int summons[5] = { 1589, 1579, 1575, 1555, 1590 };
+ //int summons[5] = { 1020, 1068, 1118, 1500, 1368 };
int maxcount = (skill==AM_CANNIBALIZE)? 6-lv : skill_get_maxcount(skill);
int mob_class = (skill==AM_CANNIBALIZE)? summons[lv-1] :1142;
if(battle_config.land_skill_limit && maxcount>0 && (battle_config.land_skill_limit&BL_PC)) {