From 444511502b3812c587f6289f88c6d5617ed2b3a6 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Thu, 22 Mar 2012 02:11:44 +0000 Subject: 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 --- src/map/skill.c | 7 +++++-- 1 file 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; -- cgit v1.2.3-70-g09d2