18149 Commits

Author SHA1 Message Date
aleos
10e28babc9 Add empty zone notice
* Display a notice when a map doesn't have a zone with a suggestion to assign one.
* Avoiding a default zone as many maps are added from updates and may not get their proper zones until the requisite data is found.
2024-01-17 16:43:32 -05:00
aleos
4a48b64566 Fixes MF_FLEE_PENALTY parsing 2024-01-17 16:10:40 -05:00
aleos
e34973a5cc Fixes mapflag parsing
* Adds back an accidental removal for mapflag name lookup.
2024-01-17 16:10:14 -05:00
aleos
c178f03a26 Convert s_map_zone_data storage to shared_ptr 2024-01-17 16:09:36 -05:00
aleos
941085e826 Adds ability to clear mapflags
* Added the Clear label to allow mapflags to be removed for importing use.
* Converts mapflag storage into multimap.
2024-01-17 14:05:29 -05:00
aleos
e9beffea50 Adds object type check to isStatusDisabled
* Check by object type rather than passing arbitrary integers to compare against.
2024-01-16 14:19:58 -05:00
aleos
772c6f33ff Invincible timer clean
* Remove a possible timer even if passing an invalid time value.
2024-01-16 13:53:04 -05:00
aleos
34065e4ca6 Map Zone parsing optimizations 2024-01-16 11:10:56 -05:00
aleos
e3eefb6acc Fixes invincible timer check 2024-01-14 16:11:00 -05:00
aleos
31cc8c5115 Adds a function to assist with PK damage
* Re-implement battle_calc_pk_damage to help determine when to adjust damage when PK mode is enabled.
* Implement INF2_IGNOREPKREDUCTION skill flag to make skills bypass the damage adjustments.
2024-01-14 16:08:55 -05:00
aleos
08068bf3a4 Remove plurality 2024-01-14 11:33:35 -05:00
aleos
53b2a0c351 Remove deprecated databases from file move 2024-01-14 11:25:58 -05:00
aleos
e405a39733 Fixes incorrect message display 2024-01-14 11:22:12 -05:00
aleos
6568ccff5d Cleanup atcommand mapinfo
* Adjust checks for faster lookup.
2024-01-14 11:20:48 -05:00
aleos
1e4a219832 Implements mapflag MF_FLEE_PENALTY
* Deprecate the bg_flee_penalty and gvg_flee_penalty battle configs.
* Removes hardcoded restrictions limiting to only BG and GvG maps.
2024-01-14 11:19:33 -05:00
aleos
7717070d14 Translate new messages to Spanish
Thanks to @SapitoSucio!
2024-01-13 17:07:50 -05:00
aleos
5c24cc4c6a Disable mapflags on custom scripts 2024-01-12 17:28:47 -05:00
aleos
c186c0354e Fix Russian specifier to integer 2024-01-12 17:05:44 -05:00
aleos
997e457890 Update messages for other languages 2024-01-12 17:03:41 -05:00
aleos
82e362edaa Fixes PK damage calculation
* Convert a few more PK damage checks that got missed from a merge conflict.
2024-01-12 17:03:20 -05:00
aleos
004dcf57c0 More battle_config cleanups 2024-01-12 16:18:25 -05:00
aleos
e60e3e8dc2 Fixes CI errors 2024-01-12 16:15:01 -05:00
aleos
39f6e1492b Initial implementation of Map Zones
* Implements Map Zones which allows easier configuration of map settings.
* The restricted mapflag has been removed as they will no longer be needed.
* General cleanups and optimizations.
2024-01-12 15:43:52 -05:00
Lemongrass3110
c4026c08c8
Some bonus ignored left_cardfix_to_right (#8097)
Taken from #7024

Co-authored-by: munkrej <schmunk@posteo.de>
2024-01-12 11:42:08 +01:00
Atemo
360b8bc3e2
Corrected IG_GRAND_JUDGEMENT (#8095)
* Moved IG_GRAND_JUDGEMENT with other splash skills in skill_castend_damage_id

Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>

Fixed #8080

Thanks to @Jaikayray
2024-01-11 15:31:17 +01:00
Lemongrass3110
96f40d9adc Converted some whitespaces to tabs 2024-01-11 00:47:57 +01:00
Atemo
a29e115a62
Corrected CD_ARBITRIUM_ATK area of damage (#8096)
* The splash area should be 9x9 according to skill description

Fixed #8079
Thanks to @Jaikayray
2024-01-10 23:57:51 +01:00
munkrej
60dbe5a42d
Cleanup of PATK calculation (#8094)
Follow up to 66dddb3 (rathena/rathena#7996)

Fixes RK_DRAGONBREATH handling when DK_DRAGONIC_AURA is not skilled
2024-01-08 21:10:11 +01:00
Atemo
a3cb48a341
Item DB correction/update (#8091)
* Corrected item Locations
* Added missing effect when autobonus is triggered for some snow and glacier enchants
* Updated item Trade
2024-01-08 20:24:23 +01:00
Atemo
1f3b42c175
Updated hidden garden instance (#8092)
* Monsters spawn times is significantly reduced.
2024-01-08 19:46:15 +01:00
Atemo
360710d2f0
Rebalance Abyss chaser 20221221 (#8081)
* Abyss Dagger
- Increases cooldown from 0.3 seconds to 0.4 seconds.
- Increases SP consumption from 64 to 76 based on level 5.
- Increases base damage from 2600%Atk to 4600%Atk based on level 5.

* Frenzy Shot
- Increases cooldown from 0.2 seconds to 0.35 seconds.
- Increases SP consumption from 55 to 65 based on level 10.
- Increases number of hit from 1 hit to 2 hits.
- Increases base damage from 4000%Atk to 6150%Atk based on level 10.
- Increases factor weight of CON in skill formula from 5 to 15.

* Deft Stab
- Removes a chance to trigger the skill one more time.
- Increases SP consumption from 62 to 72 based on level 10.
- Increases cooldown from 0.3 seconds to 0.7 seconds.
- Reduces base damage from 5850%Atk to 3750%Atk based on level 10.
- Changes damage logic from 5 split hits to 5 cumulative hits.

Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2024-01-06 19:58:18 +01:00
Lemongrass3110
644a22c5bb
Fixed convex mirror (#8084)
When the "NoSave" of SC_BOSSMAPINFO is removed, this could lead to issues after a character logs back in.

Fixes #8083

Thanks to @Gyakushinn
2024-01-05 21:50:59 +01:00
Atemo
ff90feaf85
Rebalance Meister 20221221 (#8076)
Axe Stomp
- Increases SP consumption from 74 to 85 based on level 5.
- Increases base damage from 4600%Atk to 5150%Atk per hit based on level 5.

Mighty Smash, Spark Blaster  and Triple Laser are already up-to-date
2024-01-02 20:39:49 +01:00
Atemo
2121aa2ed7
Rebalance Dragon Knight 20221221 (#8077)
* Madness Crusher
- Reduces SP consumption from 68 to 55 based on level 5.
- Increases base damage from 4400%Atk to 8350%Atk based on level 5.
- Increases factor weight of POW in skill formula from 7 to 10.

* Storm Slash
- Increases cooldown from 0.3 seconds to 0.35 seconds.
- Reduces SP consumption from 60 to 55 based on level 5.
- Increases base damage from 950%Atk to 2200%Atk per hit based on level 5.
- Increases the chance to double skill damage while under Giant Growth buff from 30% to 60%.

* Hack and Slasher
- Increases base damage from 7300%Atk to 7700%Atk per hit based on level 10.
- Reduces area of effect from 9 x 9 cells to 7 x 7 cells based on level 10.
- Applies critical damage, the critical chance is the user's Cri.

Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2024-01-02 19:07:54 +01:00
Atemo
091a6c5401
Rebalance Troubadour & Trouvere 20221221 (#8068)
* Rhythm Shooting
- Increases cooldown from 0.15 seconds to 0.35 seconds.
- Increases base damage from 800%/1400%Atk to 3700%/4550%Atk per hit based on level 5.
- Increases factor weight of CON in skill formula from 3 to 5 (7 on targets marked with sound brand).

Additionally
- The effect from Rhythm Shooting does not remove SC_SOUNDBLEND anymore (written in the skill description)

* Metallic Fury
- Reworks skill to dealing damage to surrounding enemies around the target (9 x 9 cells based on level 5).
- Increases cooldown from 0.3 seconds to 0.4 seconds.
- Increases global cool time from 0.3 seconds to 0.5 seconds.
- No longer remove sound brand debuff from target. (doesn't mention it changelog but it works)
- Increases base damage from 11000%Matk to 13000%/18000%(targets marked with sound brand)Matk based on level 5.
- Increases factor weight of SPL in skill formula (on targets marked with sound brand) from 1.5x of Stage Manner skill level to 2x of Stage Manner skill level.
2024-01-02 18:09:03 +01:00
Atemo
f22e423677
Rebalance Imperial Guard 20221221 (#8078)
* Cross Rain
- Reduces cooldown from 4.5 seconds to 2.4 seconds.
- Reduces skill duration from 4.5 seconds to 2.4 seconds based on level 10.
- Increases factor weight of Spear & Sword Mastery skill level in skill formula from 50/100 (Holy Shield) to 100/150 (Holy Shield) based on level 10.
- Increases factor weight of SPL in skill formula from 5 to 7.
- Reduces AP recovery rate from 7 to 4.

* Shield Shooting
- Reworks skill to dealing damage to surrounding enemies within 7 x 7 cells around the target.
- Reduces cast range from 11 cells to 9 cells.
- Increases factor weight of Shield Mastery skill level in skill formula from 75 to 250 based on level 5.
- Increases base damage from 11900%Atk to 14900%Atk based on level 5.
- Increases factor weight of POW in skill formula from 5 to 7.
- Increases factor weight of shield refine rate in skill formula from 4 to 25.
2024-01-02 14:32:39 +01:00
Vincent Stumpf
1c31d9c83e
Make the global packet_buffer owned by common (#8073) 2024-01-01 19:05:21 +01:00
Vincent Stumpf
3756872529
Fix token auth packet handling (#8071)
It should skip the entire packet
2023-12-30 18:26:53 -08:00
Lemongrass3110
fe9c959bf0
Removed flag parameter for MC_IDENTIFY (#8070)
Fixes #7634

Thanks to @OptimusM and @laziem
2023-12-30 19:07:38 +01:00
Atemo
756abe34d5
Rebalance Arch mage 20221221 (#8065)
* Rain of Crystal
- Reduces area of effect from 19 x 19 cells to 13 x 13 cells based on level 5.
- Increases SP consumption from 100 to 125 based on level 5.

* Crimson Arrow
- Reduces SP consumption from 94 to 90 based on level 5.
- Increases base damage of linear damage from 1500%Matk to 1750%Matk based on level 5.
- Increases base damage of explosion damage from 3000%Matk to 3500%Matk based on level 5.

* Storm Cannon
- Reduces SP consumption from 94 to 88 based on level 5.
- Increases base damage from 4750%/6250%Matk to 6000%/7500%Matk based on level 5.

* Rock Down
- Reduces SP consumption from 94 to 88 based on level 5.
- Increases base damage from 4750%/6250%Matk to 6000%/7500%Matk based on level 5.

* Frozen Slash
- Increases SP consumption from 96 to 115 based on level 5.
- Increases base damage from 4750%/6650%Matk to 4900%/6800%Matk based on level 5.

* Destructive Hurricane
- Increases cooldown from 2 seconds to 2.5 seconds.
- Increases base damage from 14250%Matk to 14850%Matk based on level 5.
- Reduces damage bonus from Climax level 3 from 200% to 150%.
- Changes damage modifier from Climax level 5 from 50% increasing to 20% reducing.
- Increases SP consumption from 132 to 186 based on level 5.

* Crystal Impact
- Reduces area of effect from 15 x 15 cells to 13 x 13 cells based on level 5.
- Increases SP consumption from 132 to 186 based on level 5.
- Reduces area of effect bonus from Climax level 5 from entire screen to 15 x 15 cells.


Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2023-12-30 14:52:34 +01:00
Atemo
23766e61c3
Rebalance Windhawk 20221221 (#8020)
* No Limits (Ranger)
- No longer be removed by Dispell or Clearance.

* Calamity Gale
- Increases duration from 60 seconds to 180 seconds.
- Reduces cooldown from 300 seconds to 180 seconds.

Note: it was not implemented
- No longer be removed when using No Limits.

* Gale Storm
- Reduces cooldown from 1.5 seconds to 1.2 seconds.
- Increases SP consumption from 100 to 120 based on level 10.
- Increases base damage from 9500%Atk to 10000%Atk based on level 5.
- Reduces area of effect from 11 x 11 cells to 9 x 9 cells based on level 10.

Note: CON weight was already 10
- Increases factor weight of CON in skill formula from 5 to 10.

* Crescive Bolt
- Increases cooldown from 0.15 seconds to 0.35 seconds.
- Increases global cool time from 0.3 seconds to 0.7 seconds.
- Increases base damage from 3400%Atk to 9400%Atk based on level 10.

Additionnally
- Removed leftover Deep Blind Trap / Solid Trap / Swift Trap / Flame Trap status ailments in `skills_db.yml` (from previous rebalance)
- Corrected WH HAWK BOOMERANG and WH_HAWKBOOMERANG formula according to the Korean description of the skill.
- Included WH_NATUREFRIENDLY in the damage formula of WH_HAWKRUSH and WH_HAWKBOOMERANG (x1.5 at level 5) (source: tests on KRO)

Thanks to @datawulf
2023-12-29 23:57:52 +01:00
Atemo
11e50dec41
Rebalance cardinal 20221221 (#8021)
* Framen
- Increases base damage from 4000%/4500%Matk to 4750%/5250%Matk based on level 5.

* Arbitrium
- Reduces cooldown from 1.5 seconds to 1 second.
- Increases SP consumption from 112 to 125 based on level 10.
- Applies AP recovery rate by 2.
- Increases base damage of area damage from 12500%Matk to 17500%Matk based on level 10.
- Increases factor weight of Fidus Animus skill level in skill formula of area damage from 100 to 500 based on level 10.
- Increases factor weight of SPL in skill formula from 7 to 10.

* Petitio
- Reduces area of effect from 9 x 9 cells to 7 x 7 cells based on level 10.
- Increases factor weight of Mace & Book Mastery skill level in skill formula from 100 to 500 based on level 10.
2023-12-29 22:54:14 +01:00
Lemongrass3110
7999ccb215
Refactored login-server clif to structs (#8058)
Communication between the login-server and the client is now done with structs.
Moved the definition of the global reusable packet buffer to socket.hpp
2023-12-29 22:04:42 +01:00
Atemo
0fe2d0a0fe
Rebalance inquisitor 20221221 (#8022)
* Oleum Sanctum
- Reduces cooldown from 2 seconds to 1.5 seconds.
- No longer require Holy Water on casting.
- Reduces area of effect from 11 x 11 cells to 9 x 9 cells based on level 5.

* Explosion Blaster
- Adds global cool time by 1 second.
- Increases SP consumption from 90 to 125 based on level 5.
- Reduces area of effect from 11 x 11 cells to 9 x 9 cells based on level 5.
- Reduces base damage of from 14000%Atk to 12000%Atk based on level 5.
- Increases base damage against Oleum Sanctum debuff from 16000%Atk to 17600%Atk based on level 5.
- Reduces factor weight of POW in skill formula (without Oleum Sanctum debuff) from 15 to 10.

* Massive Flame Blaster
- Adds global cool time by 0.5 seconds.
- Reduces area of effect from 11 x 11 cells to 9 x 9 cells.
- Increases base damage from 21500%/23000%Atk to 23000%/24500%Atk based on level 10.
2023-12-29 20:22:44 +01:00
Atemo
ccce839881
Rebalance shadow cross 20221221 (#8019)
* Savage Impact
- Reduces cooldown from 1 second to 0.7 seconds.
- Increases area of effect from 5 x 5 cells to 7 x 7 cells based on level 10.
- Applies AP recovery rate by 2.

* Shadow Stab
- The skill will deal damage for 2 hits.
- While under Cloaking Exceed buff, increases number of hit to 3 hits with higher damage per hit.
- Increases factor weight of POW in skill formula while under Cloaking Exceed buff from 5 to 7.
- Increases base damage from 1500%Atk to 1750%/2000%Atk per hit based on level 5.
2023-12-29 16:51:43 +01:00
Sola丶小克
b0971c0f67
Refactor some MySQL connection variables (#8059) 2023-12-29 15:37:01 +01:00
Lemongrass3110
9c06340f3a Fixed a warning related to [[fallthrough]]
Follow up to 61c2480

Thanks to @Pokye
2023-12-29 11:49:41 +01:00
Lemongrass3110
afbfd13606
Prevent clients to use server accounts (#8063)
Fixes #7772

Thanks to @Litro
2023-12-29 11:15:41 +01:00
Lemongrass3110
e4ec88c666
Added support for CZ_RESET_SKILL (#8062)
Fixes #7961
Added a dummy implementation to prevent players from disconnecting, until we know what that command should do.

Thanks to @jamesandrewww
2023-12-29 10:40:55 +01:00
Singe Horizontal
782299112b
Restores stat points override when loading db (#8061)
Fixes #8060
2023-12-29 01:34:19 +01:00