Jump to content

shyguy

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by shyguy

  1. Hello @Notorius.

    Did you get this to work? I have the same issue.

    Tried to change the code to what @blinzer posted but no luck... Backstab can only be casted behind the target... I even tried using the renewal code on my pre-renewal setup, but no luck. Nothing let's me backstab from the front.

     

    If anyone can help would be really happy.

    I am using the latest build as per today (27.08.23)

    Thank you!!

     

  2. Hello.

    I was looking to change HP and SP recovery, both idle and when sitting.

    I found some old threads but the code in the threads are old C code and not cpp.

     

    I looked into rathena/src/map/status.cpp and have seen some code related to HP and SP regen while sitting. 

    static int status_natural_heal(struct block_list* bl, va_list args)

     

    But I am unsure if ths is the right place and what exactly I should change.

    If I understood it correctly I would like to edit the following lines to adjust the sitting HP and SP recovery:

    // for HP
    rate = (int)(natural_heal_diff_tick * (sregen->rate.hp / 100.));
    
    // for SP
    rate = (int)(natural_heal_diff_tick * (sregen->rate.sp / 100.));

     

    Any help would be appreciated.

    Thanks.

×
×
  • Create New...