Renewal system:
so when i tried to change parameters using setunitdata almost all of it works but not the ATK & MATK (UMOB_MINATK,UMOB_MAXATK,...)
Pre-re system: its working*
other weird behaviour UMOB_ATKRANGE can only be changed to increase the range UMOB_DEF same as UMOB_ATKRANGE
UMOB_STR doesn't change monster's attack when enable_baseatk on mob enabled UMOB_VIT doesn't decrease monster's soft defense when changed to lower
fixed the atk range issue with src modification on script.cpp by setting
status->rwh.range = 0
or
md->status.rhw.range = (unsigned short)value;
on the switch case,
for decreasing custom umob_def need to make base status def to 0 using -= md->status.def first
for vit and soft defense need to set it (base_status->def2) when switch case called
why is status_calc_misc called before base_status applied to the monster? and even if it called later is it gonna change the soft def when vit is changed?
i guess setunitdata is still need some work
Question
DaScript
Renewal system:
so when i tried to change parameters using setunitdata almost all of it works but not the ATK & MATK (UMOB_MINATK,UMOB_MAXATK,...)
Pre-re system: its working*
other weird behaviour
UMOB_ATKRANGE can only be changed to increase the rangeUMOB_DEF same as UMOB_ATKRANGEUMOB_STR doesn't change monster's attack when enable_baseatk on mob enabled
UMOB_VIT doesn't decrease monster's soft defense when changed to lowerfixed the atk range issue with src modification on script.cpp by setting
status->rwh.range = 0
or
md->status.rhw.range = (unsigned short)value;
on the switch case,
for decreasing custom umob_def need to make base status def to 0 using -= md->status.def first
for vit and soft defense need to set it (base_status->def2) when switch case called
Edited by DaScriptwhy is status_calc_misc called before base_status applied to the monster? and even if it called later is it gonna change the soft def when vit is changed?
i guess setunitdata is still need some work
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.