Improved item_bonus.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11061 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
beeec3308d
commit
b10e03f171
@ -166,7 +166,6 @@ bonus2 bAddDamageByClass,n,x; When being hit by monster of class n increase
|
|||||||
damage taken by x%
|
damage taken by x%
|
||||||
bonus2 bAddRace2,n,x; Increase damage by x% vs. enemies of race n
|
bonus2 bAddRace2,n,x; Increase damage by x% vs. enemies of race n
|
||||||
(Check db/mob_race2_db.txt)
|
(Check db/mob_race2_db.txt)
|
||||||
|
|
||||||
bonus3 bHPLossRate,n,x,y; Lose n amount of hp every x amount of time
|
bonus3 bHPLossRate,n,x,y; Lose n amount of hp every x amount of time
|
||||||
y: 0=Don't show damage 1=Show damage
|
y: 0=Don't show damage 1=Show damage
|
||||||
bonus3 bAutoSpellWhenHit,x,y,n; n/10% chance to cast skill x of level y on
|
bonus3 bAutoSpellWhenHit,x,y,n; n/10% chance to cast skill x of level y on
|
||||||
@ -182,7 +181,6 @@ bonus3 bSPDrainValue,n,x,y; When attacking there is a n% chance to either
|
|||||||
enemy. y:0=gain sp 1:drain enemy sp
|
enemy. y:0=gain sp 1:drain enemy sp
|
||||||
(Note: setting x to -1 or below will reduce
|
(Note: setting x to -1 or below will reduce
|
||||||
YOUR sp)
|
YOUR sp)
|
||||||
|
|
||||||
bonus4 bAutoSpell,x,y,n,i; n/10% chance to cast skill x of level y when
|
bonus4 bAutoSpell,x,y,n,i; n/10% chance to cast skill x of level y when
|
||||||
being attacking
|
being attacking
|
||||||
i: 1=cast on enemy, not on self
|
i: 1=cast on enemy, not on self
|
||||||
@ -195,7 +193,6 @@ bonus4 bAutoSpellWhenHit,x,y,n,i; n/10% chance to cast skill x of level y when
|
|||||||
i: 1=cast on enemy, not on self
|
i: 1=cast on enemy, not on self
|
||||||
2=use random skill lv in [1..y]
|
2=use random skill lv in [1..y]
|
||||||
3=1+2 (random lv on enemy)
|
3=1+2 (random lv on enemy)
|
||||||
|
|
||||||
bonus5 bAutoSpell,x,y,n,t,i; n/10% chance to cast skill x of level y when
|
bonus5 bAutoSpell,x,y,n,t,i; n/10% chance to cast skill x of level y when
|
||||||
attacking
|
attacking
|
||||||
i: 1=cast on enemy, not on self
|
i: 1=cast on enemy, not on self
|
||||||
@ -218,7 +215,6 @@ bonus5 bAutoSpell,x,y,n,t,i; n/10% chance to cast skill x of level y when
|
|||||||
BF_SKILL is used if the type is
|
BF_SKILL is used if the type is
|
||||||
BF_MISC or BF_MAGIC. BF_NORMAL is
|
BF_MISC or BF_MAGIC. BF_NORMAL is
|
||||||
used if the type is BF_WEAPON)
|
used if the type is BF_WEAPON)
|
||||||
|
|
||||||
bonus5 bAutoSpellWhenHit,x,y,n,t,i; n/10% chance to cast skill x of level y when
|
bonus5 bAutoSpellWhenHit,x,y,n,t,i; n/10% chance to cast skill x of level y when
|
||||||
being hit by a direct attack. Target
|
being hit by a direct attack. Target
|
||||||
must be within spell's range to go
|
must be within spell's range to go
|
||||||
@ -258,3 +254,8 @@ bonus3 bAddMonsterDropItemGroup,n,x,y; y% chance to get an item of group type 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
|
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
|
||||||
if 'y' is negative value, then it's a part of formula
|
if 'y' is negative value, then it's a part of formula
|
||||||
chance = -y*(killed_mob_level/10)+1
|
chance = -y*(killed_mob_level/10)+1
|
||||||
|
|
||||||
|
//Bonuses that were missing
|
||||||
|
|
||||||
|
bonus2 bWeaponComaRace,x,y; y/100% chance to cause Coma when attacking a
|
||||||
|
monster of race x with a normal attack
|
||||||
|
Loading…
x
Reference in New Issue
Block a user