summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-05-14 20:33:05 +0200
committerHaru <haru@dotalux.com>2015-05-17 01:03:43 +0200
commit5be01dc1fe3f75e3a099f52dee2affb0c01f45a7 (patch)
tree790ad3595e895956b0ff50e41a25e9ed207356a8 /doc
parent6f2b524a4f1349a588bd5db4526b485eda7a6d2d (diff)
downloadhercules-5be01dc1fe3f75e3a099f52dee2affb0c01f45a7.tar.gz
hercules-5be01dc1fe3f75e3a099f52dee2affb0c01f45a7.tar.bz2
hercules-5be01dc1fe3f75e3a099f52dee2affb0c01f45a7.tar.xz
hercules-5be01dc1fe3f75e3a099f52dee2affb0c01f45a7.zip
Added bonus4 variant of bAddEff to specify a duration
- When a duration value is specified, the effect will have a fixed, non-reducible duration, as required by item scripts. - Special thanks to Michieru Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/item_bonus.txt18
1 files changed, 10 insertions, 8 deletions
diff --git a/doc/item_bonus.txt b/doc/item_bonus.txt
index c93149b1c..2c3ebf1cb 100644
--- a/doc/item_bonus.txt
+++ b/doc/item_bonus.txt
@@ -102,6 +102,15 @@ bonus bHealPower,n; Increase heal amount of all heal skills by n%
bonus bHealPower2,n; Increase heal amount if you are healed by any skills by n%
bonus2 bAddEff,e,x; Adds a x/100 chance to cause effect e to the target when attacking (e.g. x=100 makes 1% chance, x=10000 makes 100% chance, etc)
e: Eff_Blind, Eff_Sleep, Eff_Poison, Eff_Freeze, Eff_Silence, Eff_Stun, Eff_Curse, Eff_Confusion, Eff_Stone, Eff_Bleeding
+bonus3 bAddEff,n,x,y; See bonus2 bAddEff.
+ 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)
+bonus4 bAddEff,n,x,y,t; See bonus3 bAddEff.
+ d is the effect duration in milliseconds. Valid range is 0 ~ 65535. If set and greater than 0,
+ the effect can't be avoided nor its duration reduced.
bonus2 bResEff,e,x; Adds a x/100 tolerance to effect e (e.g. x=100 makes 1% tolerance, x=10000 makes 100% tolerance, etc)
e: Eff_Blind, Eff_Sleep, Eff_Poison, Eff_Freeze, Eff_Silence, Eff_Stun, Eff_Curse, Eff_Confusion, Eff_Stone, Eff_Bleeding
bonus2 bCastrate,n,x; Adjust casting time of skill n by x% (supports skill names)
@@ -270,13 +279,6 @@ bonus2 bSubRace2,n,x; Damage x% reduction from enemies of race n (Chec
bonus bAddMonsterDropChainItem,n; Able to get item of chain type n (only constant applicable) when you kill a monster (Check db/(pre-)re/item_group.conf)
-bonus3 bAddEff,n,x,y; Adds a x/100 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/100 chance to cause n state to the enemy when being hit by physical damage.
y is the trigger criteria:
ATF_SELF: Trigger effect on self.
@@ -419,4 +421,4 @@ bonus4 bSetMDefRace,r,n,t,y; Set MDEF to y of an enemy of race r at n% for t mil
bonus2 bAddRaceTolerance,n,x; Add x% tolerance against race n (Renewal Only)
n: 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 \ No newline at end of file
+ 10=Boss monster, 11=Other than (normal monster) boss monster