diff options
author | Haru <haru@dotalux.com> | 2016-09-05 00:07:08 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2017-09-17 17:48:11 +0200 |
commit | a98b2d93f3727d18d8add5cb5c35830cbb171114 (patch) | |
tree | 39eda9621cf0a0f5f734a2d0d9360db3eeff73ff /src/map/status.c | |
parent | 00570591031eb6fc99c7c26ba58a2a7efb144e7f (diff) | |
download | hercules-a98b2d93f3727d18d8add5cb5c35830cbb171114.tar.gz hercules-a98b2d93f3727d18d8add5cb5c35830cbb171114.tar.bz2 hercules-a98b2d93f3727d18d8add5cb5c35830cbb171114.tar.xz hercules-a98b2d93f3727d18d8add5cb5c35830cbb171114.zip |
Split 'View' in two different fields in the item database
- The field was used both for sprite view IDs and for weapon or
ammunition subtypes. Now the fields 'ViewSprite' and 'Subtype' are
used respectively.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c index c98857736..0d2171eac 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -10747,7 +10747,7 @@ int status_change_end_(struct block_list* bl, enum sc_type type, int tid, const } if (begin_spurt && sce->val1 >= 7 && DIFF_TICK(timer->gettick(), starttick) <= 1000 - && (!sd || (sd->weapontype1 == 0 && sd->weapontype2 == 0)) + && (!sd || (sd->weapontype1 == W_FIST && sd->weapontype2 == W_FIST)) ) sc_start(bl, bl,SC_STRUP,100,sce->val1,skill->get_time2(status->sc2skill(type), sce->val1)); } |