From 97607005941e41e60a8025c53f585c7927306fd7 Mon Sep 17 00:00:00 2001 From: skotlex Date: Sun, 4 Mar 2007 16:39:30 +0000 Subject: - 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 --- doc/item_bonus.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'doc') 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 ---- -- cgit v1.2.3-70-g09d2