* 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.
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
* 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.
* 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.
Fixes#8041
Added support for int64, so the range of the random numbers that can be generated is much wider now.
Changed the logic to be more restrictive:
(1) The range version is intended for positive numbers only.
(2) If minimum and maximum are equal and no random value can be calculated.
Triggering the more restrictive behavior will trigger the script source (file) to be reported in the map-server.
Co-authored-by: Atemo <Atemo@users.noreply.github.com>
Faster and with no module bias
Removed rnd_init, rnd_uint32 and rnd_uniform
From now on we will only use rnd_value(min, max) for values in range [min, max] and rnd_chance(chance, base) for chances
Fixes#7881Fixes#7883Fixes#7884Fixes#7885
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
* Fixes#7771.
* Adds a missing check to avoid warping players who are actively jailed out early after relogging.
Thanks to @fab10Carvalho and @Lemongrass3110!