DaScript
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by DaScript
-
-
why you need to set it to negative value instead of cast time = 0 ?
-
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 behaviourUMOB_ATKRANGE can only be changed to increase the rangeUMOB_DEF same as UMOB_ATKRANGE
UMOB_STR doesn't change monster's attack when enable_baseatk on mob enabledUMOB_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 firstfor 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
unitskilluseid,unitskillusepos weird workaround to remove cast time
in Scripting Support
Posted · Edited by DaScript
using unitskillusepos on mob will crash the map server
but its fine when using unitskilluseid