Issue information

Issue ID
#7897
Status
Fixed
Severity
None
Started
Triedge
Dec 15, 2013 0:31
Last Post
AnnieRuru
Mar 19, 2014 20:23
Confirmation
N/A

Triedge - Dec 15, 2013 0:31

in /doc/item_bonus.txt
read:[code=auto:0] 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.[/code]
That is [b]normal[/b][b] attacks[/b]?
While testing, I saw that this effect works not only normal / basic attacks, but also with Skills.

If you think a bug should be fixed, because I need something to "drain" life without [b]using[/b] Skills.

In case be an error description, then just explain that works with any physical attack.

AnnieRuru - Mar 19, 2014 18:50

its BF_WEAPON
should be weapon attack

AnnieRuru - Mar 19, 2014 20:22

Fixed in
[url="https://github.com/HerculesWS/Hercules/commit/f7cd6b42179e2cdb5bbea3b9c060d0fc56d265b6"]https://github.com/HerculesWS/Hercules/commit/f7cd6b42179e2cdb5bbea3b9c060d0fc56d265b6[/url]

it seems coma also can trigger with weapon skills, tested with mammonite and flip tatami
but bClassChange doesn't work, this one has to normal attack