summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorDastgir Pojee <dastgirp@gmail.com>2016-10-03 18:20:59 +0530
committerhemagx <ibrahem.h.basyone@gmail.com>2016-10-22 02:22:03 +0200
commit5e04f472e1ef618d9201fd22e382dca829992b3b (patch)
tree6722458b7239dfa722fe136708933e6eb066597c /src/map/battle.c
parent63c621ff7ceddb0fa12f8fabf7e074eb63b25eec (diff)
downloadhercules-5e04f472e1ef618d9201fd22e382dca829992b3b.tar.gz
hercules-5e04f472e1ef618d9201fd22e382dca829992b3b.tar.bz2
hercules-5e04f472e1ef618d9201fd22e382dca829992b3b.tar.xz
hercules-5e04f472e1ef618d9201fd22e382dca829992b3b.zip
Implemented SU_SV_ROOTTWIST Skill.
Duration: (5+(2*SkillLv)) seconds. Cannot be used on Boss Monsters. Effect is cancelled when Heaven's Drive or Trample is used. Enemies trapped on roots receive poison property damage.
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 688f8febc..1064cf8a8 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -3694,6 +3694,12 @@ struct Damage battle_calc_magic_attack(struct block_list *src,struct block_list
//Damage calculation from iRO wiki. [Jobbie]
ad.damage = status->get_lv(src) * 10 + sstatus->int_;
break;
+ /**
+ * Summoner
+ */
+ case SU_SV_ROOTTWIST_ATK:
+ ad.damage = 100;
+ break;
default: {
unsigned int skillratio = 100; //Skill dmg modifiers.
MATK_ADD( status->get_matk(src, 2) );