diff options
author | Fate <fate-tmw@googlemail.com> | 2009-05-16 15:12:15 +0000 |
---|---|---|
committer | Fate <fate-tmw@googlemail.com> | 2009-05-16 15:12:15 +0000 |
commit | fdf3fa3479ff9ee122d246092f7ca51a60fd4691 (patch) | |
tree | 16647fe21fab5937e24e4dbadc2005b01898f5d0 | |
parent | 609f20501e891a9200df680f39b0bd40d158b154 (diff) | |
download | tmwa-fdf3fa3479ff9ee122d246092f7ca51a60fd4691.tar.gz tmwa-fdf3fa3479ff9ee122d246092f7ca51a60fd4691.tar.bz2 tmwa-fdf3fa3479ff9ee122d246092f7ca51a60fd4691.tar.xz tmwa-fdf3fa3479ff9ee122d246092f7ca51a60fd4691.zip |
Fixed SC_POISON to take duration in val1
-rw-r--r-- | src/map/skill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 3099aeb..ac6db98 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -7980,7 +7980,7 @@ int skill_status_change_timer(int tid, unsigned int tick, int id, int data) break; case SC_POISON: if(sc_data[SC_SLOWPOISON].timer == -1) { - if( (--sc_data[type].val3) > 0) { + if( (--sc_data[type].val1) > 0) { int hp = battle_get_max_hp(bl); if(battle_get_hp(bl) > hp>>4) { |