summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorDastgir Pojee <dastgirp@gmail.com>2016-10-02 22:01:49 +0530
committerhemagx <ibrahem.h.basyone@gmail.com>2016-10-22 02:22:01 +0200
commit8647affb1ffbae9dc8aae34409cfd7cd47aa5dff (patch)
tree520c4e3cc2ee1e5533edeeef7ad11eeb2e7acec4 /src/map/battle.c
parent4291cc2aa8430c7a08c6a60f75590784ed64f98e (diff)
downloadhercules-8647affb1ffbae9dc8aae34409cfd7cd47aa5dff.tar.gz
hercules-8647affb1ffbae9dc8aae34409cfd7cd47aa5dff.tar.bz2
hercules-8647affb1ffbae9dc8aae34409cfd7cd47aa5dff.tar.xz
hercules-8647affb1ffbae9dc8aae34409cfd7cd47aa5dff.zip
Implemented SU_CN_METEOR:
Catnip Meteor: Increases Matk by 200+100*SkillLevel%. When 1 Catnip is consumed, Adds a Chance to curse target[Not Implemented].
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 4ad11e488..d3a499014 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -1898,6 +1898,9 @@ int battle_calc_skillratio(int attack_type, struct block_list *src, struct block
case SU_SV_STEMSPEAR:
skillratio += 600;
break;
+ case SU_CN_METEOR:
+ skillratio += 100 + 100 * skill_lv;
+ break;
default:
battle->calc_skillratio_magic_unknown(&attack_type, src, target, &skill_id, &skill_lv, &skillratio, &flag);
break;