summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorDastgir Pojee <dastgirp@gmail.com>2016-10-02 21:38:15 +0530
committerhemagx <ibrahem.h.basyone@gmail.com>2016-10-22 02:21:59 +0200
commit9930ca16f6dff79b8cb14a75c50ac269dd59c6cc (patch)
tree6798870e669b5c831157e4e1d9c6b8c472807803 /src/map/battle.c
parentbc70168dfbcf81f8690c8c4d8d882bf53b2e2e78 (diff)
downloadhercules-9930ca16f6dff79b8cb14a75c50ac269dd59c6cc.tar.gz
hercules-9930ca16f6dff79b8cb14a75c50ac269dd59c6cc.tar.bz2
hercules-9930ca16f6dff79b8cb14a75c50ac269dd59c6cc.tar.xz
hercules-9930ca16f6dff79b8cb14a75c50ac269dd59c6cc.zip
Implemented SU_SV_STEMSPEAR Skill.
Silvervine Steam Spear: 10% Bleeding Chance, 700% Matk at all levels. Lv 1: Earth Magic Lv 2: Fire Magic Lv 3: Water Magic Lv 4: Wind Magic Lv 5: Ghost Magic Base Level 30: Chance to activate skill again. Every 30 Base Level: Increases the chance to activate skill.
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 37e06a6ba..4ad11e488 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -1895,6 +1895,9 @@ int battle_calc_skillratio(int attack_type, struct block_list *src, struct block
pc->del_charm(sd, sd->charm_count, sd->charm_type);
}
break;
+ case SU_SV_STEMSPEAR:
+ skillratio += 600;
+ break;
default:
battle->calc_skillratio_magic_unknown(&attack_type, src, target, &skill_id, &skill_lv, &skillratio, &flag);
break;