summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-22 02:11:44 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-22 02:11:44 +0000
commit444511502b3812c587f6289f88c6d5617ed2b3a6 (patch)
tree52e0bfb9771b8ee954096f5f4cda4b8fb4f24831 /src/map
parentc7950cde32b62d87728bca84d39902b21193ffc3 (diff)
downloadhercules-444511502b3812c587f6289f88c6d5617ed2b3a6.tar.gz
hercules-444511502b3812c587f6289f88c6d5617ed2b3a6.tar.bz2
hercules-444511502b3812c587f6289f88c6d5617ed2b3a6.tar.xz
hercules-444511502b3812c587f6289f88c6d5617ed2b3a6.zip
Fixed bugreport:5385 soul collect skill now takes in account if its under raising dragon state in order to boost amount of spheres it may summon
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15748 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/skill.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index d8772dca6..1bae14129 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -5099,9 +5099,12 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
case CH_SOULCOLLECT:
if(sd) {
+ int limit = 5;
+ if( sd->sc.data[SC_RAISINGDRAGON] )
+ limit += sd->sc.data[SC_RAISINGDRAGON]->val1;
clif_skill_nodamage(src,bl,skillid,skilllv,1);
- for (i = 0; i < 5; i++)
- pc_addspiritball(sd,skill_get_time(skillid,skilllv),5);
+ for (i = 0; i < limit; i++)
+ pc_addspiritball(sd,skill_get_time(skillid,skilllv),limit);
}
break;