summaryrefslogtreecommitdiff
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
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
-rw-r--r--Changelog-Trunk.txt3
-rw-r--r--src/map/skill.c8
2 files changed, 8 insertions, 3 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 4fe7ec17d..00ded4f4c 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -3,6 +3,9 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
+2007/07/09
+ * Rev. 10870 Alchemist skill "AM_CANNIBALIZE" ("Summon_Flora") now [L0ne_W0lf]
+ summons the proper monsters.
2007/07/07
* Fixed typo in 'deletearray' messing up the script engine
* Added a check to pc_skill() to prevent crashes on unknown skill ids
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)) {