diff options
author | Dastgir Pojee <dastgirp@gmail.com> | 2016-10-03 19:10:20 +0530 |
---|---|---|
committer | hemagx <ibrahem.h.basyone@gmail.com> | 2016-10-22 02:22:12 +0200 |
commit | f4e8189545642ee0bf87f3da546bddc918682935 (patch) | |
tree | 4e0d2ce46073a1fabdd7010407475c6cd3248728 /src/map | |
parent | 69f3d4815c09ee07ce4ef3c5163411ba05c81731 (diff) | |
download | hercules-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')
-rw-r--r-- | src/map/skill.c | 10 | ||||
-rw-r--r-- | src/map/status.c | 1 |
2 files changed, 11 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 ) diff --git a/src/map/status.c b/src/map/status.c index 27bbafb74..508127cb6 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -735,6 +735,7 @@ void initChangeTables(void) status->set_sc(SU_ARCLOUSEDASH, SC_ARCLOUSEDASH, SI_ARCLOUSEDASH, SCB_AGI | SCB_SPEED); add_sc(SU_LUNATICCARROTBEAT, SC_STUN); status->set_sc(SU_TUNAPARTY, SC_TUNAPARTY, SI_TUNAPARTY, SCB_NONE); + status->set_sc(SU_BUNCHOFSHRIMP, SC_SHRIMP, SI_SHRIMP, SCB_BATK | SCB_MATK); // Elemental Spirit summoner's 'side' status changes. status->set_sc( EL_CIRCLE_OF_FIRE , SC_CIRCLE_OF_FIRE_OPTION, SI_CIRCLE_OF_FIRE_OPTION, SCB_NONE ); |