summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/battle.c6
-rw-r--r--src/map/skill.c4
2 files changed, 10 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index f220be17b..2c9d3f3c4 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -1677,6 +1677,12 @@ int battle_calc_skillratio(int attack_type, struct block_list *src, struct block
case SU_SCAROFTAROU:
skillratio += -100 + 100 * skill_lv;
break;
+ case SU_PICKYPECK:
+ case SU_PICKYPECK_DOUBLE_ATK:
+ skillratio += 100 + 100 * skill_lv;
+ if ((status_get_max_hp(target) / 100) <= 50)
+ skillratio *= 2;
+ break;
/**
* Arch Bishop
**/
diff --git a/src/map/skill.c b/src/map/skill.c
index 1f8171b72..d947f28a6 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -3989,6 +3989,10 @@ int skill_castend_damage_id(struct block_list* src, struct block_list *bl, uint1
skill->addtimerskill(src, tick + skill->get_delay(skill_id, skill_lv), bl->id, 0, 0, skill_id, skill_lv, BF_WEAPON, flag);
break;
+ case SU_PICKYPECK:
+ clif->skill_nodamage(src, bl, skill_id, skill_lv, 1);
+ break;
+
// Splash attack skills.
case AS_GRIMTOOTH:
case MC_CARTREVOLUTION: