diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-07-30 00:32:27 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-07-30 00:32:27 -0300 |
commit | 131f03fdffe104a96a49bba7a50d584e23696649 (patch) | |
tree | 5b731cf95b85d62a60a3b1d6a0f675a1618335e9 /localserver | |
parent | 05d52cb0aef95759222ba522087eaf067eda9206 (diff) | |
download | tools-131f03fdffe104a96a49bba7a50d584e23696649.tar.gz tools-131f03fdffe104a96a49bba7a50d584e23696649.tar.bz2 tools-131f03fdffe104a96a49bba7a50d584e23696649.tar.xz tools-131f03fdffe104a96a49bba7a50d584e23696649.zip |
Remove the Event Server experiment.
New beta patch will make Int-based SP Regen ~15% stronger
Diffstat (limited to 'localserver')
-rw-r--r-- | localserver/beta.patch2 | 42 |
1 files changed, 10 insertions, 32 deletions
diff --git a/localserver/beta.patch2 b/localserver/beta.patch2 index 23f921a..e94db6e 100644 --- a/localserver/beta.patch2 +++ b/localserver/beta.patch2 @@ -1,35 +1,13 @@ -diff --git a/src/map/clif.c b/src/map/clif.c -index cd3131181..8b21f37c3 100644 ---- a/src/map/clif.c -+++ b/src/map/clif.c -@@ -11052,7 +11052,7 @@ static void clif_parse_ActionRequest_sub(struct map_session_data *sd, int action - return; +diff --git a/src/map/status.c b/src/map/status.c +index f06bb0330..2fd295dc0 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 - if(action_type != 0x00 && action_type != 0x07) -- pc_stop_walking(sd, STOPWALKING_FLAG_FIXPOS); -+ pc_stop_walking(sd, STOPWALKING_FLAG_FIXPOS|STOPWALKING_FLAG_NEXTCELL); - pc_stop_attack(sd); + regen->hp = cap_value(val, reg_flag, SHRT_MAX); - if(target_id<0 && -target_id == sd->bl.id) // for disguises [Valaris] -@@ -22234,7 +22234,7 @@ static int clif_parse(int fd) - //TODO apply delays or disconnect based on packet throughput [FlavioJS] - // Note: "click masters" can do 80+ clicks in 10 seconds +- val = 1 + (st->int_/6) + (st->max_sp/100); ++ val = 1 + (st->int_/5) + (st->max_sp/100); + if( st->int_ >= 120 ) + val += ((st->int_-120)>>1) + 4; -- for( pnum = 0; pnum < 3; ++pnum ) { // Limit max packets per cycle to 3 (delay packet spammers) [FlavioJS] -- This actually aids packet spammers, but stuff like /str+ gets slow without it [Ai4rei] -+ for( pnum = 0; pnum < 6; ++pnum ) { // Limit max packets per cycle to 3 (delay packet spammers) [FlavioJS] -- This actually aids packet spammers, but stuff like /str+ gets slow without it [Ai4rei] - unsigned short (*parse_cmd_func)(int fd, struct map_session_data *sd); - // begin main client packet processing loop - -diff --git a/src/map/unit.c b/src/map/unit.c -index 68e6aeec1..518b5a3ea 100644 ---- a/src/map/unit.c -+++ b/src/map/unit.c -@@ -2216,7 +2216,7 @@ static int unit_attack_timer_sub(struct block_list *src, int tid, int64 tick) - ud->dir = map->calc_dir(src, target->x,target->y ); - } - if(ud->walktimer != INVALID_TIMER) -- unit->stop_walking(src, STOPWALKING_FLAG_FIXPOS); -+ unit->stop_walking(src, STOPWALKING_FLAG_FIXPOS|STOPWALKING_FLAG_NEXTCELL); - if(md) { - //First attack is always a normal attack - if(md->state.skillstate == MSS_ANGRY || md->state.skillstate == MSS_BERSERK) { |