Jump to content

DaScript

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by DaScript

  1. 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

×
×
  • Create New...