summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-09-27 12:58:41 -0300
committershennetsind <ind@henn.et>2013-09-27 12:58:41 -0300
commit4a6a25f6675bd11666b235b97d59f5035a249295 (patch)
tree9e2ae3c4492aec5d8204a4c32b7054225f347bc6 /src/map/status.c
parent605fe9775beff1fb0e3df68b2df886d4e5b54a2d (diff)
downloadhercules-4a6a25f6675bd11666b235b97d59f5035a249295.tar.gz
hercules-4a6a25f6675bd11666b235b97d59f5035a249295.tar.bz2
hercules-4a6a25f6675bd11666b235b97d59f5035a249295.tar.xz
hercules-4a6a25f6675bd11666b235b97d59f5035a249295.zip
HPM: Skill.c Completed
Moved missing vars and declarations of interest into the interface. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c4
1 files changed, 2 insertions, 2 deletions
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 );