diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-08-24 16:51:37 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-08-24 16:51:37 -0300 |
commit | 52925ea79a716c59f737c78bfbceeb3c33a61238 (patch) | |
tree | 051f38b74da4dc994e1117ac2c10ab20305e2b14 | |
parent | df54c7f8cb5ad5ccd4c403914e3479e4707f7d44 (diff) | |
download | tools-52925ea79a716c59f737c78bfbceeb3c33a61238.tar.gz tools-52925ea79a716c59f737c78bfbceeb3c33a61238.tar.bz2 tools-52925ea79a716c59f737c78bfbceeb3c33a61238.tar.xz tools-52925ea79a716c59f737c78bfbceeb3c33a61238.zip |
Upgrade beta.patch2 to fastspregen_lowrodexfee_batkmod_summonfix_marketfix_hompatch
-rw-r--r-- | localserver/beta.patch2 | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/localserver/beta.patch2 b/localserver/beta.patch2 index 41a6417..90102d8 100644 --- a/localserver/beta.patch2 +++ b/localserver/beta.patch2 @@ -1,5 +1,5 @@ diff --git a/src/map/battle.c b/src/map/battle.c -index fe7a64b51..8698cef67 100644 +index fe7a64b51..f9066fcb8 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -7417,6 +7417,7 @@ static const struct battle_data { @@ -10,6 +10,20 @@ index fe7a64b51..8698cef67 100644 }; static bool battle_set_value_sub(int index, int value) +diff --git a/src/map/npc.c b/src/map/npc.c +index 4b79a9fed..8196460f7 100644 +--- a/src/map/npc.c ++++ b/src/map/npc.c +@@ -2178,6 +2178,9 @@ static int npc_market_buylist(struct map_session_data *sd, struct itemlist *item + return 1; + } + ++ // Apply player discout cupon (TMW2 Custom) ++ value = pc->modifybuyvalue(sd,value); ++ + z += (int64)value * entry->amount; + w += itemdb_weight(entry->id) * entry->amount; + } diff --git a/src/map/rodex.c b/src/map/rodex.c index 766fdc5ea..996576fd3 100644 --- a/src/map/rodex.c |