summaryrefslogtreecommitdiff
path: root/doc/item_bonus.txt
diff options
context:
space:
mode:
authorshadow <shadow@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-09 12:03:53 +0000
committershadow <shadow@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-09 12:03:53 +0000
commitd4e85de04dc6f11eb5c5b82be2ce236fc39009e6 (patch)
tree86e6062f7a2dc5f09ee1be076edd3222c0bb5df1 /doc/item_bonus.txt
parentcf51fb6a2e0e24aa24dddcec2509a7046bfbb113 (diff)
downloadhercules-d4e85de04dc6f11eb5c5b82be2ce236fc39009e6.tar.gz
hercules-d4e85de04dc6f11eb5c5b82be2ce236fc39009e6.tar.bz2
hercules-d4e85de04dc6f11eb5c5b82be2ce236fc39009e6.tar.xz
hercules-d4e85de04dc6f11eb5c5b82be2ce236fc39009e6.zip
Cleared documentation about autospellwhenhit, a lot of cards will need to be revised
Fixed 2000,Destruction_Rod being 0.2% per refine instead of 2%. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12799 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/item_bonus.txt')
-rw-r--r--doc/item_bonus.txt48
1 files changed, 29 insertions, 19 deletions
diff --git a/doc/item_bonus.txt b/doc/item_bonus.txt
index dc0c39016..95069ce9b 100644
--- a/doc/item_bonus.txt
+++ b/doc/item_bonus.txt
@@ -197,37 +197,47 @@ bonus4 bAutoSpellWhenHit,x,y,n,i; n/10% chance to cast skill x of level y when
i: 1=cast on enemy, not on self
2=use random skill lv in [1..y]
3=1+2 (random lv on enemy)
-bonus5 bAutoSpell,x,y,n,t,i; n/10% chance to cast skill x of level y when
- attacking
- i: 1=cast on enemy, not on self
+bonus5 bAutoSpell,x,y,n,t,i; n/10% chance to cast skill x of level y when attacking
+ 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)
+
+bonus5 bAutoSpellWhenHit,x,y,n,t,i; n/10% chance to cast skill x of level y when being hit by a direct attack.
+ Target must be within spell's range to go
+ off.
t: Trigger criteria:
BF_SHORT: Trigger on melee attack
BF_LONG: Trigger on ranged attack
- (When neither is specified,
- then BF_SHORT+BF_LONG is used.
+ ( Default: BF_SHORT+BF_LONG )
+
BF_WEAPON: Trigger on weapon skills
BF_MAGIC: Trigger on magic skills
BF_MISC: Trigger on misc skills
- (If none is specified, BF_WEAPON is
- used)
+ ( Default: BF_WEAPON )
+
BF_NORMAL: Trigger on normal
- attacks.
+ attacks.
BF_SKILL: Trigger on skills
- (When neither is specified,
- BF_SKILL is used if the type is
- BF_MISC or BF_MAGIC. BF_NORMAL is
- used if the type is BF_WEAPON)
-bonus5 bAutoSpellWhenHit,x,y,n,t,i; n/10% chance to cast skill x of level y when
- being hit by a direct attack. Target
- must be within spell's range to go
- off.
- i: 1=cast on enemy, not on self
+ (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)
- t: Trigger criteria (see bonus5
- bAutoSpell)
//---- 2/22 new card effects ----