summaryrefslogtreecommitdiff
path: root/doc/item_bonus.txt
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-08-18 19:24:27 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-08-18 19:24:27 +0000
commit480fd5dec044c10579f0e9b5b24ce92a5b38fc7d (patch)
tree7255c561a69e2f7055c5b88b352d79df56bbbc38 /doc/item_bonus.txt
parentc024c27068518fef269dc9dbe5c1d01a0b50d963 (diff)
downloadhercules-480fd5dec044c10579f0e9b5b24ce92a5b38fc7d.tar.gz
hercules-480fd5dec044c10579f0e9b5b24ce92a5b38fc7d.tar.bz2
hercules-480fd5dec044c10579f0e9b5b24ce92a5b38fc7d.tar.xz
hercules-480fd5dec044c10579f0e9b5b24ce92a5b38fc7d.zip
* Added bonus3 bAdd/SubEle, which allows you to specify a battle flag as well! Dun dun dun!
- The bonuses are addititive to existing bAdd/SubEles, as that's how it appears to work. - Updated Asprika to use new bonus3 bSubEle. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14381 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/item_bonus.txt')
-rw-r--r--doc/item_bonus.txt43
1 files changed, 43 insertions, 0 deletions
diff --git a/doc/item_bonus.txt b/doc/item_bonus.txt
index cb1b4218a..d9224e196 100644
--- a/doc/item_bonus.txt
+++ b/doc/item_bonus.txt
@@ -333,3 +333,46 @@ bonus2 bSPDrainValue,n,x; When hitting a monster by physical attack, ...
1=you drain n SP from target
bonus2 bIgnoreDefRate,n,x; Disregard x% of the target's DEF if the target belongs to race n;
+
+bonus3 bAddEle,n,x,t; +x% physical damage against element n
+ n: 0=Neutral, 1=Water, 2=Earth, 3=Fire, 4=Wind, 5=Poison,
+ 6=Holy, 7=Dark, 8=Spirit, 9=Undead
+ t: Trigger criteria:
+ BF_SHORT: Trigger on melee attack
+ BF_LONG: Trigger on ranged attack
+ ( Default: BF_SHORT+BF_LONG )
+
+ BF_WEAPON: Trigger on weapon skills
+ BF_MAGIC: Trigger on magic skills
+ BF_MISC: Trigger on misc skills
+ ( Default: BF_WEAPON )
+
+ BF_NORMAL: Trigger on normal
+ attacks.
+ BF_SKILL: Trigger on skills
+ (Default: BF_SKILL if type is BF_MISC or BF_MAGIC, BF_NORMAL if type is BF_WEAPON)
+
+ i: 1=cast on enemy, not on self
+ 2=use random skill lv in [1..y]
+ 3=1+2 (random lv on enemy)
+bonus3 bSubEle,n,x,t; x% Damage reduction against element n.
+ n: 0=Neutral, 1=Water, 2=Earth, 3=Fire, 4=Wind, 5=Poison,
+ 6=Holy, 7=Dark, 8=Spirit, 9=Undead
+ t: Trigger criteria:
+ BF_SHORT: Trigger on melee attack
+ BF_LONG: Trigger on ranged attack
+ ( Default: BF_SHORT+BF_LONG )
+
+ BF_WEAPON: Trigger on weapon skills
+ BF_MAGIC: Trigger on magic skills
+ BF_MISC: Trigger on misc skills
+ ( Default: BF_WEAPON )
+
+ BF_NORMAL: Trigger on normal
+ attacks.
+ BF_SKILL: Trigger on skills
+ (Default: BF_SKILL if type is BF_MISC or BF_MAGIC, BF_NORMAL if type is BF_WEAPON)
+
+ i: 1=cast on enemy, not on self
+ 2=use random skill lv in [1..y]
+ 3=1+2 (random lv on enemy)