summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorDastgir Pojee <dastgirp@gmail.com>2016-10-03 18:57:13 +0530
committerhemagx <ibrahem.h.basyone@gmail.com>2016-10-22 02:22:08 +0200
commit384ab01c3ea55f96277824b9c64d79dc060efcb3 (patch)
tree9a65e2ac4ea853296189fa3c2b38f6d7a2c3c597 /src/map/battle.c
parent8557afc9875ae5fcf46b17728cddab009aa5d472 (diff)
downloadhercules-384ab01c3ea55f96277824b9c64d79dc060efcb3.tar.gz
hercules-384ab01c3ea55f96277824b9c64d79dc060efcb3.tar.bz2
hercules-384ab01c3ea55f96277824b9c64d79dc060efcb3.tar.xz
hercules-384ab01c3ea55f96277824b9c64d79dc060efcb3.zip
Implemented SU_LUNATICCARROTBEAT Skill.
Atk +(200+100*SkillLv)%. When 1 Carrot is consumed, Add's a chance to stun enemy. Lv1-2: 3x3 AoE Lv3-4: 5x5 AoE Lv5: 7x7 AoE Added Item Constants in itemdb.h
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 8ff376042..001da3edd 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -1683,6 +1683,9 @@ int battle_calc_skillratio(int attack_type, struct block_list *src, struct block
if ((status_get_max_hp(target) / 100) <= 50)
skillratio *= 2;
break;
+ case SU_LUNATICCARROTBEAT:
+ skillratio += 100 + 100 * skill_lv;
+ break;
/**
* Arch Bishop
**/