summaryrefslogtreecommitdiff
path: root/doc/item_bonus.txt
diff options
context:
space:
mode:
authorAnnieRuru <jeankof@ymail.com>2014-03-20 04:14:49 +0800
committerAnnieRuru <jeankof@ymail.com>2014-03-20 04:14:49 +0800
commitf7cd6b42179e2cdb5bbea3b9c060d0fc56d265b6 (patch)
treeaee9c8bc0adc537b9c1e0ff6117098ffcfa75f31 /doc/item_bonus.txt
parent68b16d11c5f3cdf67a58154dbf22ad3da60a6f9f (diff)
downloadhercules-f7cd6b42179e2cdb5bbea3b9c060d0fc56d265b6.tar.gz
hercules-f7cd6b42179e2cdb5bbea3b9c060d0fc56d265b6.tar.bz2
hercules-f7cd6b42179e2cdb5bbea3b9c060d0fc56d265b6.tar.xz
hercules-f7cd6b42179e2cdb5bbea3b9c060d0fc56d265b6.zip
Fix various documentation bugs
Fix certain type of bonus can actually trigger with weapon skills http://hercules.ws/board/tracker/issue-7897-bug-or-bad-description/ Fix duplicate sample typo http://hercules.ws/board/tracker/issue-4984-wrong-test-duplicate-npc-sample/ skill script command doesn't has type 4 http://hercules.ws/board/tracker/issue-7565-skill-script-command-invalid-flag/
Diffstat (limited to 'doc/item_bonus.txt')
-rw-r--r--doc/item_bonus.txt20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/item_bonus.txt b/doc/item_bonus.txt
index b9dc9080f..7a37060d7 100644
--- a/doc/item_bonus.txt
+++ b/doc/item_bonus.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= Hercules Dev Team
//===== Current Version: =====================================
-//= 20130623
+//= 20140320
//===== Description: =========================================
//= List of script instructions used in item bonuses,
//= mainly bonus/bonus2/bonus3/bonus4/bonus5 arguments.
@@ -288,7 +288,7 @@ bonus2 bAddMonsterDropChainItem,n,x; Able to get item of chain type n (only cons
5=Fish, 6=Demon, 7=Demi-Human, 8=Angel, 9=Dragon,
10=Boss monster, 11=Other than (normal monster) boss monster
-bonus2 bWeaponComaRace,x,y; y/100% chance to cause Coma when attacking a monster of race x with a normal attack
+bonus2 bWeaponComaRace,x,y; y/100% chance to cause Coma when attacking a monster of race x with a weapon attack
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
@@ -365,7 +365,7 @@ bonus bBreakArmorRate,n; Adds a n/100% chance to break enemy's armor while atta
bonus bUnbreakable,n; Reduces the break chance of all equipped equipment by n%.
bonus bShortWeaponDamageReturn,n; Reflects n% of received melee damage back to the enemy that caused it.
bonus bLongWeaponDamageReturn,n; Reflects n% of received ranged damage back to the enemy that caused it.
-bonus2 bWeaponComaEle,x,n; Adds a n/100% chance to cause Coma when attacking a monster of element x with normal attack.
+bonus2 bWeaponComaEle,x,n; Adds a n/100% chance to cause Coma when attacking a monster of element x with weapon attack.
x: 0=Neutral, 1=Water, 2=Earth, 3=Fire, 4=Wind, 5=Poison,
6=Holy, 7=Dark, 8=Spirit, 9=Undead
bonus2 bAddEff2,x,n; Adds a n/100% chance to cause status change x on self when attacking.
@@ -375,15 +375,15 @@ bonus bMagicDamageReturn,n; Adds a n% chance to reflect targetted magic spells
bonus bPerfectHide,n; Hidden/cloaked character is no longer detected by monsters with 'detector' mode (n is meaningless).
bonus bNoKnockback,n; Character is no longer knocked back by enemy skills with such effect (n is meaningless).
bonus bClassChange,n; Gives a n/100% chance to change the attacked monster's class with normal attack.
-bonus bHPDrainValue,n; Heals +n HP with normal attack.
-bonus2 bHPDrainValue,n,x; Heals +n HP with normal attack. When x is non-zero, the HP is drained instead.
+bonus bHPDrainValue,n; Heals +n HP with weapon attack.
+bonus2 bHPDrainValue,n,x; Heals +n HP with weapon attack. When x is non-zero, the HP is drained instead.
bonus2 bWeaponAtk,x,n; Adds n ATK when weapon of type x is equipped.
x: see doc/item_db.txt -> view -> weapons for possible values
-bonus2 bWeaponAtkRate,x,n; Adds n% damage to normal attacks when weapon of type x is equipped.
+bonus2 bWeaponAtkRate,x,n; Adds n% damage to weapon attacks when weapon of type x is equipped.
x: see doc/item_db.txt -> view -> weapons for possible values
bonus bDelayrate,n; Increases skill delay by n%.
-bonus3 bHPDrainRateRace,r,n,x; Adds a n/10% chance to receive x% of damage dealt as HP from a monster of race r with normal attack.
-bonus3 bSPDrainRateRace,r,n,x; Adds a n/10% chance to receive x% of damage dealt as SP from a monster of race r with normal attack.
+bonus3 bHPDrainRateRace,r,n,x; Adds a n/10% chance to receive x% of damage dealt as HP from a monster of race r with weapon attack.
+bonus3 bSPDrainRateRace,r,n,x; Adds a n/10% chance to receive x% of damage dealt as SP from a monster of race r with weapon attack.
bonus3 bAddEffOnSkill,s,x,n; Adds a n/100% chance to cause status change x on enemy when using skill s (supports skill names)
bonus4 bAddEffOnSkill,s,x,n,t; Adds a n/100% chance to cause status change x when using skill s (supports skill names)
t: ATF_SELF = causes status change to oneself
@@ -391,8 +391,8 @@ bonus4 bAddEffOnSkill,s,x,n,t; Adds a n/100% chance to cause status change x wh
bonus bNoMiscDamage,n; Adds n% reduction to received misc damage.
bonus bLongAtkRate,n; Increases damage of ranged attacks by n%.
bonus bUnstripable,n; Armor cannot be taken off via strip skills (n is meaningless)
-bonus2 bHPDrainValueRace,r,n; Heals +n HP when attacking a monster of race r with normal attack.
-bonus2 bSPDrainValueRace,r,n; Heals +n SP when attacking a monster of race r with normal attack.
+bonus2 bHPDrainValueRace,r,n; Heals +n HP when attacking a monster of race r with weapon attack.
+bonus2 bSPDrainValueRace,r,n; Heals +n SP when attacking a monster of race r with weapon attack.
bonus bMagicSPGainValue,n; Heals +n SP when killing an enemy with magic attack.
bonus bMagicHPGainValue,n; Heals +n HP when killing an enemy with magic attack.