diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-08-02 22:56:41 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-08-02 22:56:41 -0300 |
commit | e38600d0d018f69e885fa7d1c1e4b420ab4158c3 (patch) | |
tree | 3145edc1c774f5e3cb8b9791d497e40e572f866d /localserver | |
parent | 941996f12b4060ef8d53c877ccb8f71a15d0f36f (diff) | |
download | tools-e38600d0d018f69e885fa7d1c1e4b420ab4158c3.tar.gz tools-e38600d0d018f69e885fa7d1c1e4b420ab4158c3.tar.bz2 tools-e38600d0d018f69e885fa7d1c1e4b420ab4158c3.tar.xz tools-e38600d0d018f69e885fa7d1c1e4b420ab4158c3.zip |
Update beta.patch2 to version 3
* 15% Faster SP Regen based on Int
* Rodex Fee lowered to 500 GP/items and no GP tax
* Base Attack multiplied by two, and staves (wands) use INT instead of STR.
Diffstat (limited to 'localserver')
-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. |