summaryrefslogtreecommitdiff
path: root/doc/item_bonus.txt
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-04 16:39:30 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-04 16:39:30 +0000
commit97607005941e41e60a8025c53f585c7927306fd7 (patch)
tree91a93f5f16b7156c60d2d098ba91ab2c11f96842 /doc/item_bonus.txt
parent24989a7e159e88bfa6d5561a4bd2e579cefbe70b (diff)
downloadhercules-97607005941e41e60a8025c53f585c7927306fd7.tar.gz
hercules-97607005941e41e60a8025c53f585c7927306fd7.tar.bz2
hercules-97607005941e41e60a8025c53f585c7927306fd7.tar.xz
hercules-97607005941e41e60a8025c53f585c7927306fd7.zip
- Added the +20hit that were missing the NPC elemental attack skills.
- Added support for autospells using "a random skill level". The last value of bonus4 bAutoSpell is used for determining this as well as the target. &1 is to cast on target (otherwise cast on self), and &2 is to use a random level UP to the level specified in the script (otherwise always cast the specified level) - Updated item_bonus.txt with the documentation for the bAutoSpell/bAutoSpellWhenHit changes. - Corrected @refresh not reupdating the basic stat bonuses. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9952 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/item_bonus.txt')
-rw-r--r--doc/item_bonus.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/item_bonus.txt b/doc/item_bonus.txt
index bf92b4487..06b105f4a 100644
--- a/doc/item_bonus.txt
+++ b/doc/item_bonus.txt
@@ -174,11 +174,16 @@ bonus3 bSPDrainValue,n,x,y; When attacking there is a n% chance to either
bonus4 bAutoSpell,x,y,n,i; n/10% chance to cast skill x of level y when
being attacking
- i:0=cast on self 1=cast on enemy
+ i: 1=cast on enemy, not on self
+ 2=use random skill lv in [1..y]
+ 3=1+2 (random lv on enemy)
bonus4 bAutoSpellWhenHit,x,y,n,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:0=cast on self 1=cast on enemy
+ off.
+ i: 1=cast on enemy, not on self
+ 2=use random skill lv in [1..y]
+ 3=1+2 (random lv on enemy)
//---- 2/22 new card effects ----