diff options
-rw-r--r-- | localserver/beta.patch2 | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/localserver/beta.patch2 b/localserver/beta.patch2 index 67c10bb..352cced 100644 --- a/localserver/beta.patch2 +++ b/localserver/beta.patch2 @@ -18,7 +18,7 @@ index 766fdc5ea..996576fd3 100644 static struct rodex_interface rodex_s; struct rodex_interface *rodex; diff --git a/src/map/status.c b/src/map/status.c -index f06bb0330..2fd295dc0 100644 +index f06bb0330..2e8909601 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -3552,7 +3552,7 @@ static void status_calc_regen(struct block_list *bl, struct status_data *st, str @@ -30,3 +30,29 @@ index f06bb0330..2fd295dc0 100644 if( st->int_ >= 120 ) val += ((st->int_-120)>>1) + 4; +@@ -4468,17 +4468,23 @@ static unsigned short status_base_atk(const struct block_list *bl, const struct + case W_SHOTGUN: + case W_GRENADE: + flag = 1; ++ break; ++ case W_STAFF: ++ flag = 2; + } + } +- if ( flag ) { ++ if ( flag == 1 ) { + str = st->dex; + dex = st->str; ++ } else if ( flag == 2 ) { ++ str = st->int_; ++ dex = st->dex; + } else { + str = st->str; + dex = st->dex; + } + #ifdef RENEWAL +- dstr = str; ++ dstr = str*2; + #endif + //Normally only players have base-atk, but homunc have a different batk + // equation, hinting that perhaps non-players should use this for batk. |