summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
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);