diff options
-rw-r--r-- | src/map/battle.c | 10 | ||||
-rw-r--r-- | src/map/skill.c | 8 |
2 files changed, 15 insertions, 3 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 67ab8c9b8..fabad4460 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -1666,8 +1666,14 @@ int battle_calc_skillratio(int attack_type, struct block_list *src, struct block break; #endif /** - * Arch Bishop - **/ + * Summoner + **/ + case SU_BITE: + skillratio += 100; + break; + /** + * Arch Bishop + **/ case AB_JUDEX: skillratio = 300 + 20 * skill_lv; RE_LVL_DMOD(100); diff --git a/src/map/skill.c b/src/map/skill.c index 2559a7a5b..3b1b8c947 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -3961,7 +3961,13 @@ int skill_castend_damage_id(struct block_list* src, struct block_list *bl, uint1 skill->attack(BF_WEAPON,src,src,bl,skill_id,skill_lv,tick,flag); break; - //Splash attack skills. + case SU_BITE: + skill->attack(BF_WEAPON, src, src, bl, skill_id, skill_lv, tick, flag); + if (status->get_lv(src) >= 30 && (rnd() % 100 < (int)(status->get_lv(src) / 30) + 10)) // TODO: Need activation chance. + skill->addtimerskill(src, tick + skill->get_delay(skill_id, skill_lv), bl->id, 0, 0, skill_id, skill_lv, BF_WEAPON, flag); + break; + + // Splash attack skills. case AS_GRIMTOOTH: case MC_CARTREVOLUTION: case NPC_SPLASHATTACK: |