diff options
author | Haru <haru@dotalux.com> | 2017-11-24 07:24:07 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2017-11-24 07:24:07 +0100 |
commit | 34a18710fe25efaead50cf10b18a27d1d74e7c09 (patch) | |
tree | 04303cdd4d21186fbd42ecee3898d9e6015669ae /tools/itemdb_jobmask_converter.pl | |
parent | c1c8d6b7424b6673bd444b0905171c06602feaa4 (diff) | |
download | hercules-34a18710fe25efaead50cf10b18a27d1d74e7c09.tar.gz hercules-34a18710fe25efaead50cf10b18a27d1d74e7c09.tar.bz2 hercules-34a18710fe25efaead50cf10b18a27d1d74e7c09.tar.xz hercules-34a18710fe25efaead50cf10b18a27d1d74e7c09.zip |
Allow using the skill DB accessors on non-skill attacks (skill_id = 0)
This suppresses an assertion in the skill DB accessors when called with
`skill_id = 0` (such as during normal attacks). In such case, they'll
now return an appropriate zero value, as it happened before 2b4bfa5d0.
Fixes #1909
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'tools/itemdb_jobmask_converter.pl')
0 files changed, 0 insertions, 0 deletions