summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorDastgir Pojee <dastgirp@gmail.com>2016-10-03 19:10:20 +0530
committerhemagx <ibrahem.h.basyone@gmail.com>2016-10-22 02:22:12 +0200
commitf4e8189545642ee0bf87f3da546bddc918682935 (patch)
tree4e0d2ce46073a1fabdd7010407475c6cd3248728 /src/map/skill.c
parent69f3d4815c09ee07ce4ef3c5163411ba05c81731 (diff)
downloadhercules-f4e8189545642ee0bf87f3da546bddc918682935.tar.gz
hercules-f4e8189545642ee0bf87f3da546bddc918682935.tar.bz2
hercules-f4e8189545642ee0bf87f3da546bddc918682935.tar.xz
hercules-f4e8189545642ee0bf87f3da546bddc918682935.zip
Implemented SU_BUNCHOFSHRIMP Skill.
Lasts for (30+30*SkillLv) Seconds. Consumes 1 Shrimp. Increases ATK and MATK by 10% for limited time.
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 4acc3da15..4be827572 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -9553,6 +9553,16 @@ int skill_castend_nodamage_id(struct block_list *src, struct block_list *bl, uin
clif->skill_nodamage(src,bl,skill_id,skill_lv,1);
sc_start(src,bl,type,100,skill_lv,skill->get_time(skill_id,skill_lv));
break;
+ break;
+
+ case SU_BUNCHOFSHRIMP:
+ if (sd == NULL || sd->status.party_id == 0 || flag&1) {
+ clif->skill_nodamage(bl, bl, skill_id, skill_lv, sc_start(src, bl, type, 100, skill_lv, skill->get_time(skill_id, skill_lv)));
+ } else if (sd != NULL) {
+ party->foreachsamemap(skill->area_sub, sd, skill->get_splash(skill_id, skill_lv), src, skill_id, skill_lv, tick, flag|BCT_PARTY|1, skill->castend_nodamage_id);
+ }
+ break;
+
case GM_SANDMAN:
if( tsc ) {
if( tsc->opt1 == OPT1_SLEEP )