summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-09 18:05:16 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-09 18:05:16 +0000
commit5ceaed4cf6a196d19b09b2628b0b117de495e448 (patch)
treed01fd9f12097ee18a94428a87afea676ee02cf52 /doc
parenta468d4bdc269495ee370449baa2f840fb5be47f9 (diff)
downloadhercules-5ceaed4cf6a196d19b09b2628b0b117de495e448.tar.gz
hercules-5ceaed4cf6a196d19b09b2628b0b117de495e448.tar.bz2
hercules-5ceaed4cf6a196d19b09b2628b0b117de495e448.tar.xz
hercules-5ceaed4cf6a196d19b09b2628b0b117de495e448.zip
- Modified bonus3 bAddEff/bAddEffWhenHit so that the last parameter is now passed directly as "trigger" flag. The possible trigger values are ATF_LONG, ATF_SHORT, ATF_TARGET, ATF_SELF. Explanation added to doc/item_bonus.txt
- Updated some cards to use the new format of bonus3 bAddEff* git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11157 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc')
-rw-r--r--doc/item_bonus.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/item_bonus.txt b/doc/item_bonus.txt
index ed32afc5f..fd6a5becf 100644
--- a/doc/item_bonus.txt
+++ b/doc/item_bonus.txt
@@ -163,7 +163,7 @@ bonus2 bCriticalAddRace,n,r; Critical + n vs. enemies of race r
r: 0=Formless, 1=Undead, 2=Brute, 3=Plant, 4=Insect, 5=Fish, 6=Demon, 7=Demi-Human, 8=Angel, 9=Dragon, 10=Boss monster, 11=Other than (normal monster) boss monster
bonus2 bHPRegenRate,n,x; Gain n HP every x milliseconds
bonus2 bHPLossRate,n,x; Lose n HP every x milliseconds
-bonus2 bAddEffWhenHit,n,x; n% chance to cause x state to the enemy when
+bonus2 bAddEffWhenHit,n,x; x/100% chance to cause n state to the enemy when
being hit by physical damage
bonus2 bAddEffWhenHitShort,n,x; n% chance to cause x state to the enemy when
being hit by physical close range damage
@@ -254,6 +254,13 @@ bonus2 bAddMonsterDropItemGroup,n,x; x% chance to get an item of group type n wh
if 'x' is negative value, then it's a part of formula
chance = -x*(killed_mob_level/10)+1
+bonus3 bAddEff,n,x,y; Adds a x/10000 chance to cause effect n to the target when attacking (e.g. x=100 makes 1% chance, x=10000 makes 100% chance, etc). y is the trigger criteria:
+ ATF_SELF: Trigger effect on self.
+ ATF_TARGET: Trigger effect on target (default)
+ ATF_SHORT: Trigger on melee attacks
+ ATF_LONG: Trigger in ranged attacks (default: trigger on all attacks)
+
+bonus3 bAddEffWhenHit,n,x,y; x/10000 chance to cause n state to the enemy when being hit by physical damage. y is the trigger criteria (same as bAddEff trigger criteria).
bonus3 bAddMonsterDropItemGroup,n,x,y; y% chance to get an item of group type n when you kill a
monster of race x (Check db/item_group_db.txt)