summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-10 21:37:14 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-10 21:37:14 +0300
commite971e0d8dcb25864a9affb4775bce8b8033d869a (patch)
tree5f4ecf9f1fc13030c521cfa5ba73f4359ddfd8be /src/map/status.c
parentff145549f389e63be01234ddf778905700883d20 (diff)
downloadhercules-e971e0d8dcb25864a9affb4775bce8b8033d869a.tar.gz
hercules-e971e0d8dcb25864a9affb4775bce8b8033d869a.tar.bz2
hercules-e971e0d8dcb25864a9affb4775bce8b8033d869a.tar.xz
hercules-e971e0d8dcb25864a9affb4775bce8b8033d869a.zip
Add missing interface usage.
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 9fbda4b59..6d4b8d5fa 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -8072,10 +8072,10 @@ int status_change_start(struct block_list *src, struct block_list *bl, enum sc_t
if(sd && val2 == SL_HIGH) {
int stat,max_stat;
// Fetch target's stats
- struct status_data* status2 = status_get_status_data(bl); // Battle status
+ struct status_data* status2 = status->get_status_data(bl); // Battle status
val3 = 0;
val4 = 0;
- max_stat = (status_get_lv(bl)-10<50)?status_get_lv(bl)-10:50;
+ max_stat = (status->get_lv(bl)-10<50)?status->get_lv(bl)-10:50;
stat = max(0, max_stat - status2->str ); val3 |= cap_value(stat,0,0xFF)<<16;
stat = max(0, max_stat - status2->agi ); val3 |= cap_value(stat,0,0xFF)<<8;
stat = max(0, max_stat - status2->vit ); val3 |= cap_value(stat,0,0xFF);