From 4a6a25f6675bd11666b235b97d59f5035a249295 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Fri, 27 Sep 2013 12:58:41 -0300 Subject: HPM: Skill.c Completed Moved missing vars and declarations of interest into the interface. Signed-off-by: shennetsind --- src/map/status.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/status.c') diff --git a/src/map/status.c b/src/map/status.c index 9ad1c2205..d8356264c 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -7423,7 +7423,7 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val #endif break; case SC_DELUGE: - val2 = deluge_eff[val1-1]; //HP increase + val2 = skill->deluge_eff[val1-1]; //HP increase #ifndef RENEWAL if(st->def_ele != ELE_WATER) val2 = 0; @@ -10339,7 +10339,7 @@ int status_change_timer(int tid, unsigned int tick, int id, intptr_t data) { unit->skillcastcancel(bl,1); do { i = rnd() % MAX_SKILL_MAGICMUSHROOM_DB; - mushroom_skill_id = skill_magicmushroom_db[i].skill_id; + mushroom_skill_id = skill->magicmushroom_db[i].skill_id; } while( mushroom_skill_id == 0 ); -- cgit v1.2.3-60-g2f50