summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c6
1 files changed, 6 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
**/