From fdf3fa3479ff9ee122d246092f7ca51a60fd4691 Mon Sep 17 00:00:00 2001 From: Fate Date: Sat, 16 May 2009 15:12:15 +0000 Subject: Fixed SC_POISON to take duration in val1 --- src/map/skill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3-70-g09d2