295 Commits

Author SHA1 Message Date
Aleos
042b88623b
Pets should mimic master's walk speed (#3303)
* Pets should have the same walk speed as their master.
* Corrected homunculus speed check to use the proper battle config.
2018-07-09 17:29:55 -04:00
Lemongrass3110
b2c026d4b0
Cleaned up Summer 2 code (#3294)
Fixes #3293

Thanks to @Everade for reporting.
2018-07-08 11:58:50 +02:00
Aleos
f2437f4a63
Updated Masquerade effects (#3291)
* Masquerades are now unable to effect Boss monsters.
2018-07-07 19:49:51 -04:00
Aleos
6b148d5c35
Corrected SC_MTF_CRIDAMAGE bonus not triggering (#3289)
* Resolves SC_MTF_CRIDAMAGE never triggering the critical damage bonus.
2018-07-06 10:42:55 -04:00
Lemongrass3110
91169d7ebc
Fixed a few compiler warnings on clang (#3263)
Mostly pointer-bool-conversion and autological-pointer-compare
2018-07-05 22:53:20 +02:00
Lemongrass3110
796a67be4b
Fixed Silvervine Root Twist animation for players (#3255)
Fixed status changes that are displayed for players that walk into the area after status change start being sent out with an invalid duration, since the timer was not yet created and causing an infinite duration packet to be sent.

Fixes #3182

Thanks to @Everade
2018-06-27 22:08:52 +02:00
Lemongrass3110
55f1b01bd8
Removed useless debug variables for an old issue (#3247)
Closes #1986
2018-06-27 07:37:35 +02:00
Aleos
11b42569fc
Synchronized source file headers (#3212)
* Alphabetically sorted includes.
* Updated copyright and license text to match across all files.
* Removed pragma once define in header files in lieu of ifdef guards.
2018-06-20 18:08:30 -04:00
Aleos
f3eab9dd4a
Corrected Cloud Kill behavior (#3127)
* Fixes #2731.
* Corrected Cloud Kill status being removed and not damaging players who are in the AoE.
Thanks to @redlightliu!
2018-06-18 16:02:04 -04:00
flamefury
5e9a23de03 Updated Freezing effects (#3207)
* Fixes #3191.
* Adjusted movement speed reduction from -50% to -70%.
* Adjusted ASPD reduction from -15% to -30%.
* Adjusted physical DEF reduction from -10% to -30% for players only (mobs are still -10%).
* Adjusted variable cast time increase from +15% to fixed cast time +50%.
Thanks to @flamefury!
2018-06-18 13:13:27 -04:00
Aleos
dc413a3c57
Updated Mado Gear effects (#2103)
* Fixes #2099.
* Added Emergency Magic Gear.
-- Mounts the user to a Madogear.
-- Only usable by Mechanic class.
-- Has a reuse delay of 3 minutes.
* Increased maximum weight limit by 1500.
* HP naturally recovers similar to Swordman Moving HP-Recovery.
* Updated Emergency Cool's interaction with Overheat calculation.
* Added new Emergency Cool cooling devices.
* The three cooling devices now lower Overheat by 45, 75, and 105 respectively.
* Overheat now only increases on every attack by 1 or by 3 with Fire element.
* The Overheat limit is increased to 150, 200, 280, 360, and 450 respective to skill level.
* Updated the check for Acceleration, Self Destruction, Shape Shift, Emergency Cool, Magnetic Field, Neutral Barrier, and Stealth Field to also check inventory for required equipment.
* Updated Magic Gear Master NPC.
-- Added Emergency Magic Gear purchase option.
-- Added High Quality Cooler and Special Cooler upgrade options.
Thanks to @Felleonel, @Rytech2, @exneval and @mrjnumber1!
2018-06-14 17:28:16 -04:00
Lemongrass3110
801d3ed942
Moved common, config and mapcache to C++ (#3200)
Dropped BETA_THREAD_TEST and everything around it
Dropped mt19937
Replaced msinttypes with cinttypes
Removed IRC link and updated README name
2018-06-14 21:51:58 +02:00
aleos
3a918fa4a1 Removed an extra semicolon
Thanks to @Haikenz!
2018-06-13 17:24:01 -04:00
Aleos
7c4d769234
Added Old Glastheim Buffs (#3167)
* Fixes #2772.
* Added missing Old Glastheim buffs.
* Added buffs to Old Glastheim script.
* Renamed Glastheim -> Glast Heim.
Thanks to @Atemo and @mrjnumber1!
2018-06-13 15:55:30 -04:00
Atemo
d388a7122b
Initial release of morse cave instance (#3173)
* Initial release of morse cave instance
* Implemented NPC_JACKFROST skill

Thanks to @laziem, @ecdarreola, @Questune09 and https://www.divine-pride.net !
2018-06-13 20:33:36 +02:00
Aleos
f4e8dee5d6
Corrected Tarot Card dispelling Clan buffs (#3186)
* Corrected Tarot Card dispelling Clan buffs
* Fixes #3179.
* Resolved Tarot Card dispelling Clan buffs from players.
* Added Doram buffs and RODEX from being Dispelled as well.
Thanks to @cahya1992!
2018-06-08 10:14:02 -04:00
Aleos
87e7e8891b
Added missing Imperial Set Combos (#3151)
* Fixes #3031.
* Added missing Royal Guard Necklace and Imperial Glove.
* Added bSkillDelay bonus which increases delay of skill sk by t milliseconds.
Thanks to @iubantot and @Secret!
2018-05-26 12:50:39 -04:00
Aleos
d060ff79dc
Corrected refine bonus when importing (#3142)
* Fixes #2722.
* Properly reset refine bonuses before parsing the import file.
Thanks to @sader1992!
2018-05-22 12:09:27 -04:00
Aleos
42c3375693
Corrected Invisibility CRI bonus (#3138)
* Fixes #3133.
* Should be a static +100 not +100%.
Thanks to @redlightliu!
2018-05-22 10:36:35 -04:00
Lemongrass3110
bfe6266921
Fixed a few hardcoded limits in status.cpp (#3130)
Also fixed an array definition in battle.cpp/.hpp
2018-05-19 00:09:25 +02:00
Aleos
53d70b3e24
Corrected skills that lose mob targets (#3120)
* Fixes #2163, fixes #2720, and fixes #2761.
* Feint Bomb now closer mimics official behavior.
* Monsters now properly target the clone and refrain from attacking the Shadow Chaser.
* Shadow Chasers are now able to cast skills while in Feint Bomb hiding state.
* Removed extra skill cast value that wasn't used.
* Removed extra mob target release function as one already existed.
* Corrected Zanzou and Genwaku target release behavior as well.
Thanks to @ilovelemon, @redlightliu, and @MrAntares!
2018-05-17 15:58:55 -04:00
Lemongrass3110
55bf142ab8 Follow up to d13d6a6
Thanks to @RadianFord
2018-04-20 22:53:09 +02:00
Lemongrass3110
d13d6a6e19
Changed SI_ enum to the official EFST_ enum (#2995) 2018-04-20 18:24:20 +02:00
Atemo
5a0b72a7d1
Initiale release of Instance isle bios (#3041)
Initial release of isle of Bios instance

* Implemented NPC_COMET
* Adjusted skillratio for NPC_COMET. Thanks to @secretdataz !
* Fixed typo, thanks to @Lemongrass3110 and @zackdreaver !
- Replaced Morroc -> Morocc and Reaper Yanku -> Grim Reaper Ankou
* Fixed typo in mob_db.txt, thanks to @talesofragnarok 

Thanks to https://www.divine-pride.net/ for a lot of information !
2018-04-16 16:54:53 +02:00
flamefury
7f2c6cf2f5 Apply MHP limit based on bLv (#3003)
* Fixes #814.
* Applies the official maximum HP limit on players.
* Official notice: http://ro.gnjoy.com/news/notice/View.asp?BBSMode=10001&seq=6322
* Levels caps are as follows: Lv 99 = 330k; Lv 150 = 660k; Lv 175 = 1.1m
Thanks to @flamefury!
2018-04-06 12:29:54 -04:00
Jittapan Pluemsumran
aab5d54945
Added a config for disabling novice/summoner character creation (#3008)
* Added a config for disabling novice/summoner character creation.
* Summoner can no longer be created on pre-renewal by default.
Thanks to @Lemongrass3110 for the help
2018-04-04 16:40:03 +07:00
Lemongrass3110
5c9d7a41a9
Added support for the second summer costume (#2942)
Fixed other costumes being able to be removed by Dispell

Fixes #2788

Thanks to @admkakaroto
2018-03-08 00:41:52 +01:00
Aleos
31e2871d7e
Resolved renewal ASPD and two-handed weapons (#2933)
* Fixes #2930.
* Follow up to 267fd3e.
* Fixes ASPD dropping drastically for two-handed weapons.
Thanks to @luan122 and @Tokeiburu!
2018-02-27 13:49:53 -05:00
Daegaladh
a40b69f378 Fixed Skin Tempering (BS_SKINTEMPER) fire resistance percentage.
iRO wiki is wrong, it's 5% per level.
2018-02-23 20:34:59 +01:00
Jittapan Pluemsumran
1e766a7b4a
Converted pet_data::petDB into a getter function (#2901)
* Converted pet_data::petDB into a getter function
Fixed #2900
Thanks to @Lemongrass3110
2018-02-23 17:14:46 +07:00
aleos89
6411a1d4ff Follow up to b7d3828
* Fixed a compile error.
2018-02-20 13:26:16 -05:00
aleos89
b7d38283d7 Follow up to 267fd3e
* Fixed a compile error.
2018-02-20 13:18:51 -05:00
aleos89
267fd3e6db Corrected renewal ASPD off-hand calculation
* The case of unarmed and weapon (off-hand) resulted in the ASPD not being calculated properly.
* kRO includes the 1/4th ASPD penalty for off-hand weapons.
Thanks to @Tokeiburu!
2018-02-20 13:13:48 -05:00
Aleos
6e5de84a2a
Updated guild skill Guard Up (#2908)
* Fixes #2854.
* Updated guild skill Guard Up bonuses for pre-renewal and renewal.
* Removed SP adjustment as mobs don't have SP checks.
Thanks to @mrjnumber1!
2018-02-20 10:11:13 -05:00
Lemongrass3110
132feeb621
Made mercenary db dynamic (#2883)
Removed hard limit of the mercenary database
Cleaned up the hard coded duplicated logic
Turned hard coded mercenary ids into constants
2018-02-18 17:15:09 +01:00
Aleos
75a8f520a6
Corrected Heat Barrel bonuses (#2882)
* Fixes #2875.
* Attack was not factoring in coins.
* Corrected fixed cast time to also factor in coins.
Thanks to @rye305!
2018-02-09 13:27:39 -05:00
lighta
716f6c0f29 Duel allocation (#2734)
* Duels are now dynamically created and no longer statically consumes memory.
* Removed max number of duel at once.
* Updated duel modules for multi-thread and safer management.
* Remove various statically allocated tab.
* Removed duplicate code for npc_movenpc.
* Fix few warnings.
Thanks for suggestions from @anacondaqq.
2017-12-27 19:39:45 -05:00
Aleos
ae69e50626 Cleaned up renewal ASPD calculations (#2244)
* Cleaned up renewal ASPD calculations
* Fixes #2067 and fixes #2224.
* Adjusted the ASPD table to match Aegis values.
* Angra Manyu now disregards base ASPD values (Pre-Renewal only).

* Relocated Angra Manyu check
* Moved Angra Manyu check to the front to avoid useless calculations.
Thanks to @Lemongrass3110!

* Corrected double weapon calculations
* Resolved wearing two weapons causing ASPD to drop significantly.
* Corrected some typos in the Assassin class ASPD table.
* Added a missing Shadow Arms equipment check.
Thanks to @Lilori!

* Removed some unneeded defines

* Removed the single handed and double handed weapon max defines.
Thanks to @Jeybla!

* Renamed constants to keep legacy values

* Update status.cpp
2017-12-23 16:00:54 -05:00
Jeybla
5a80f29b65
Fixes potential map server crashes. (#2695)
* status_change_timer refactorization
* Changes some pointers to const pointers to prevent unwanted behavoir.
* Changes sc_timer_next to a lambda function with only the tick as a
  paramter.
* sce is not reassigned in sc_timer_next anymore, therefore it should be
  crash safe (see #2414 and #2539)
* Fixes #2539
* Thanks to @whupdo, @MuzTank and @admkakaroto!
2017-12-20 01:00:10 +01:00
Aleos
ab1fa803a2
Fixed Giant Growth damage bonus (#2688)
* Fixed Crush Strike damage bonus
* Fixes #2684.
* Base damage increase should not be affected by a success rate.
* Adjusted Crush Strike weapon attack to take from the current indexed value.
Thanks to @Badarosk0 and @Paoly28!
2017-12-14 18:52:19 -05:00
Aleos
0f33de9b4d
Updated Sorcerer Insignia Skills (#2645)
* Updated Sorcerer Insignia Skills
* Fixes #2630.
* Added missing Elemental 20% damage bonus for level 1 Insignia.
* Adjusted the recovery bonus to only apply to Elementals.
* Adjusted 25% magic damage bonus calculation.
* Added the missing ASPD bonus for Wind Insignia.
* Insignias should not affect status immune.
* Removed the BATK addition.
* Miscellaneous cleanups.
Thanks to @admkakaroto and @exneval!
2017-12-12 18:33:08 -05:00
Jey
d08bc1ce2d Revert "status_change_timer refactorization"
This reverts commit 00d8ace8d8f1d2ab525e7b53dcae9cfcae32c638.
2017-12-11 03:02:47 +01:00
Jey
00d8ace8d8 status_change_timer refactorization
* Changes some pointers to const pointers to prevent unwanted behavoir.
* Changes sc_timer_next to a lambda function with only the tick as a
  paramter.
* sce is not reassigned in sc_timer_next anymore, therefore it should be
  crash safe (see #2414 and #2539)
2017-12-11 02:57:03 +01:00
Atemo
ea88ea5054
Emoticons constant name (#2527)
This PR change the emoticons constant name to match emoticonlist from client side.
Note: the previous emoticons names are now deprecated.

Additionnally emotion and unitemote scripts commands are being merged together to the new format
-> emotion <emotion number>{,<target>};
Where target use the target Game ID (GID) of the unit (npc, pet, character etc..).

* unitemote is now deprecated.
* Additionnally fixed incorrect variable in quests_brasilis.txt

Thanks to @aleos89 and @Lemongrass3110 !
2017-11-10 18:35:21 +01:00
Aleos
c4a364be2c
Initial work for map server to C++ (#2565)
* Initial progression of moving the map-server to C++ format.
* Converted all core files to .cpp and header files to .hpp.
* Refactored the refine database parser to utilize native YAML C++.
Thanks to @Jeybla and @lighta for their help!
2017-11-02 17:39:03 -04:00